diff --git a/src/calibre/ebooks/html.py b/src/calibre/ebooks/html.py
index f69f26a1e6..43c98c1b45 100644
--- a/src/calibre/ebooks/html.py
+++ b/src/calibre/ebooks/html.py
@@ -332,6 +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 : '-->'),
]
# Fix pdftohtml markup