diff --git a/src/calibre/ebooks/conversion/plumber.py b/src/calibre/ebooks/conversion/plumber.py index ed0fd4584e..7df5e54f0e 100644 --- a/src/calibre/ebooks/conversion/plumber.py +++ b/src/calibre/ebooks/conversion/plumber.py @@ -668,7 +668,7 @@ def create_oebbook(log, path_or_stream, opts, input_plugin, reader=None): from calibre.ebooks.oeb.base import OEBBook html_preprocessor = HTMLPreProcessor(input_plugin.preprocess_html, opts.preprocess_html) - oeb = OEBBook(log, html_preprocessor=html_preprocessor, + oeb = OEBBook(log, html_preprocessor, pretty_print=opts.pretty_print) # Read OEB Book into OEBBook log('Parsing all content...')