mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
TXT Output: Fix br conversion to space.
This commit is contained in:
parent
9409781f4a
commit
d4c92f8d33
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user