diff --git a/aqt/editor.py b/aqt/editor.py index 5b6ee83de..07c0c8f69 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -1133,7 +1133,9 @@ class EditorWebView(AnkiWebView): else: newMime.setText(stripHTML(mime.text())) else: - # no stripping + if html.startswith(""): + html = html[11:] + # no html stripping html = self.editor._filterHTML(html, localize=True) newMime.setHtml(html) return newMime