diff --git a/src/calibre/ebooks/html.py b/src/calibre/ebooks/html.py index ad4538b302..f69f26a1e6 100644 --- a/src/calibre/ebooks/html.py +++ b/src/calibre/ebooks/html.py @@ -330,7 +330,7 @@ class PreProcessor(object): sanitize_head), # Convert all entities, since lxml doesn't handle them well (re.compile(r'&(\S+?);'), convert_entities), - # Remove ]*>'), lambda match: ''), ]