This commit is contained in:
Sengian 2011-01-11 16:22:55 +01:00
commit 6c7aa36c49

View File

@ -219,6 +219,10 @@ class TXTMLizer(object):
if tag in SPACE_TAGS:
text.append(u' ')
# Scene breaks.
if tag == 'hr':
text.append('\n\n* * *\n\n')
# Process tags that contain text.
if hasattr(elem, 'text') and elem.text:
text.append(elem.text)