mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #124.
This commit is contained in:
parent
f285044daf
commit
0799b987fe
@ -1155,6 +1155,7 @@ class HTMLConverter(object):
|
|||||||
self.end_current_para()
|
self.end_current_para()
|
||||||
if not tag.contents or not src.strip(): # Handle empty <p></p> elements
|
if not tag.contents or not src.strip(): # Handle empty <p></p> elements
|
||||||
self.current_block.append(CR())
|
self.current_block.append(CR())
|
||||||
|
self.process_children(tag, tag_css)
|
||||||
return
|
return
|
||||||
self.lstrip_toggle = True
|
self.lstrip_toggle = True
|
||||||
if tag_css.has_key('text-indent'):
|
if tag_css.has_key('text-indent'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user