From d0777a4ffd16738eba17c5e0a3dee9894f379af7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 7 Dec 2008 12:21:36 +0900 Subject: [PATCH] fix reference to simplify --- ankiqt/ui/facteditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."