mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22: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();")
|
||||
# munge correct value
|
||||
parser = HTMLParser.HTMLParser()
|
||||
cor = self.mw.col.media.strip(self.typeCorrect)
|
||||
cor = stripHTML(self.mw.col.media.strip(self.typeCorrect))
|
||||
cor = parser.unescape(cor)
|
||||
given = self.typedAnswer
|
||||
# compare with typed answer
|
||||
|
|
Loading…
Reference in a new issue