diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index fa9b91005..a8591311e 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -574,7 +574,7 @@ class FactEdit(QTextEdit): elif source.hasText(): self.insertPlainText(source.text()) elif source.hasHtml(): - self.insertHtml(self.simplyHTML(unicode(source.html()))) + self.insertHtml(self.simplifyHTML(unicode(source.html()))) def simplifyHTML(self, html): "Remove all style information and P tags."