TXT Output: Fix br conversion to space.

This commit is contained in:
John Schember 2010-12-04 11:39:05 -05:00
parent 9409781f4a
commit d4c92f8d33

View File

@ -179,8 +179,7 @@ class TXTMLizer(object):
text.append(u'\n\n')
if tag in SPACE_TAGS:
if not end.endswith('u ') and hasattr(elem, 'text') and elem.text:
text.append(u' ')
text.append(u' ')
# Process tags that contain text.
if hasattr(elem, 'text') and elem.text: