Fix bug with removal of footnotes in preview
This commit is contained in:
parent
60a60ace18
commit
d60516420b
@ -166,6 +166,8 @@ def page_preview(path):
|
||||
elem.text += child.tail
|
||||
elem.remove(child)
|
||||
walk_tree(child)
|
||||
else:
|
||||
walk_tree(child)
|
||||
last_child = child
|
||||
walk_tree(page_root[0])
|
||||
|
||||
|
Reference in New Issue
Block a user