diff --git a/aqt/editor.py b/aqt/editor.py index 3ffa64bec..f9a929ff8 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -397,6 +397,9 @@ class Editor(object): def mungeHTML(self, txt): if txt == "
": txt = "" + fa = re.findall('((.*))', txt) + if fa: + txt = txt.replace(fa[0][0], fa[0][1]) return txt # Setting/unsetting the current note