diff --git a/src/calibre/ebooks/html.py b/src/calibre/ebooks/html.py index 43c98c1b45..3084aa67ad 100644 --- a/src/calibre/ebooks/html.py +++ b/src/calibre/ebooks/html.py @@ -332,8 +332,8 @@ class PreProcessor(object): (re.compile(r'&(\S+?);'), convert_entities), # Remove the ]*>'), lambda match: ''), - # Replace ---> with --> since Adobe DE cries when it sees one - (re.compile(r'-{3,}>'), lambda match : '-->'), + # Strip all comments since Adobe DE is petrified of them + (re.compile(r'