TXT Input: Add _ to set of characters that can make up a hard scene break.

This commit is contained in:
John Schember 2011-02-13 14:23:03 -05:00
parent 04b80eb9ee
commit ffaed91cdc

View File

@ -126,7 +126,7 @@ def separate_hard_scene_breaks(txt):
return '\n%s\n' % line
else:
return line
txt = re.sub(u'(?miu)^[ \t-=~\/]+$', lambda mo: sep_break(mo.group()), txt)
txt = re.sub(u'(?miu)^[ \t-=~\/_]+$', lambda mo: sep_break(mo.group()), txt)
return txt
def block_to_single_line(txt):