From 105e9448d373ebec0c62039ba7a49dc782f4473c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 4 Jun 2009 07:07:59 +0900 Subject: [PATCH] strip html before generating cloze --- ankiqt/ui/facteditor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index 9016bca2c..57af844ce 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -798,6 +798,7 @@ class FactEditor(object): return # create s = unicode(src.toHtml()) + s = stripHTML(s) def repl(match): exp = "" if match.group(2):