TXT Output: preserve spaces, handle tab character correct. 	 is reduced to a single space by many renderers.

This commit is contained in:
John Schember 2010-09-11 09:13:23 -04:00
parent c2b3c445e1
commit ef8408869c

View File

@ -77,7 +77,7 @@ def separate_paragraphs_print_formatted(txt):
def preserve_spaces(txt):
txt = txt.replace(' ', ' ')
txt = txt.replace('\t', '	')
txt = txt.replace('\t', '    ')
return txt
def opf_writer(path, opf_name, manifest, spine, mi):