mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04: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
|
||||
# create
|
||||
s = unicode(src.toHtml())
|
||||
s = stripHTML(s)
|
||||
def repl(match):
|
||||
exp = ""
|
||||
if match.group(2):
|
||||
|
|
Loading…
Reference in a new issue