diff --git a/src/calibre/ebooks/oeb/polish/pretty.py b/src/calibre/ebooks/oeb/polish/pretty.py index b44f45ebcb..8f89549d9e 100644 --- a/src/calibre/ebooks/oeb/polish/pretty.py +++ b/src/calibre/ebooks/oeb/polish/pretty.py @@ -173,9 +173,10 @@ def pretty_html_tree(container, root): for body in root.findall('h:body', namespaces=XPNSMAP): pretty_block(body) - # Handle