mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
strip it before stripping html, so users trying to remember <img> can
This commit is contained in:
parent
60be7d3a95
commit
21e1fc202c
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ Please run Tools>Maintenance>Empty Cards""")
|
||||||
self.web.eval("_getTypedText();")
|
self.web.eval("_getTypedText();")
|
||||||
# munge correct value
|
# munge correct value
|
||||||
parser = HTMLParser.HTMLParser()
|
parser = HTMLParser.HTMLParser()
|
||||||
cor = self.mw.col.media.strip(self.typeCorrect)
|
cor = stripHTML(self.mw.col.media.strip(self.typeCorrect))
|
||||||
cor = parser.unescape(cor)
|
cor = parser.unescape(cor)
|
||||||
given = self.typedAnswer
|
given = self.typedAnswer
|
||||||
# compare with typed answer
|
# compare with typed answer
|
||||||
|
|
Loading…
Reference in a new issue