From fee9953405963406374b9bdc46d0213e7efd5348 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 26 Apr 2014 15:09:41 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/parse_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/ebooks/oeb/parse_utils.py b/src/calibre/ebooks/oeb/parse_utils.py index 52f7976998..998ad70337 100644 --- a/src/calibre/ebooks/oeb/parse_utils.py +++ b/src/calibre/ebooks/oeb/parse_utils.py @@ -248,6 +248,7 @@ def parse_html(data, log=None, decoder=None, preprocessor=None, # Remove DOCTYPE declaration as it messes up parsing # In particular, it causes tostring to insert xmlns # declarations, which messes up the coercing logic + pre = '' idx = data.find('