mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 21:57:12 -05:00
strip html before generating cloze
This commit is contained in:
parent
4538901d1f
commit
105e9448d3
1 changed files with 1 additions and 0 deletions
|
|
@ -798,6 +798,7 @@ class FactEditor(object):
|
||||||
return
|
return
|
||||||
# create
|
# create
|
||||||
s = unicode(src.toHtml())
|
s = unicode(src.toHtml())
|
||||||
|
s = stripHTML(s)
|
||||||
def repl(match):
|
def repl(match):
|
||||||
exp = ""
|
exp = ""
|
||||||
if match.group(2):
|
if match.group(2):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue