TXT Input: Don't preserve spaces in heuristic processing

This commit is contained in:
John Schember 2011-01-26 20:17:09 -05:00
parent 8bd3c8d53e
commit b3ec648060
2 changed files with 0 additions and 2 deletions

View File

@ -83,7 +83,6 @@ class TXTInput(InputFormatPlugin):
setattr(options, 'markup_chapter_headings', True)
setattr(options, 'italicize_common_cases', True)
setattr(options, 'fix_indents', True)
setattr(options, 'preserve_spaces', True)
setattr(options, 'delete_blank_paragraphs', True)
setattr(options, 'format_scene_breaks', True)
setattr(options, 'dehyphenate', True)

View File

@ -91,7 +91,6 @@ def normalize_line_endings(txt):
return txt
def separate_paragraphs_single_line(txt):
#txt = re.sub(u'(?<=.)\n(?=.)', '\n\n', txt)
txt = txt.replace('\n', '\n\n')
return txt