diff --git a/src/calibre/ebooks/oeb/polish/pretty.py b/src/calibre/ebooks/oeb/polish/pretty.py index 8f89549d9e..2b08f253d0 100644 --- a/src/calibre/ebooks/oeb/polish/pretty.py +++ b/src/calibre/ebooks/oeb/polish/pretty.py @@ -93,7 +93,7 @@ BLOCK_TAGS = frozenset(map(XHTML, ( 'div', 'dl', 'dt', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'li', 'noscript', 'ol', 'output', 'p', 'pre', 'script', 'section', 'style', 'table', 'tbody', 'td', - 'tfoot', 'thead', 'tr', 'ul', 'video'))) | {SVG_TAG} + 'tfoot', 'thead', 'tr', 'ul', 'video', 'img'))) | {SVG_TAG} def isblock(x):