tolerate html-commented type answer field (#599)
This commit is contained in:
parent
4da1abf86d
commit
872cca14e9
@ -377,7 +377,7 @@ Please run Tools>Maintenance>Empty Cards""")
|
||||
""" % (self.typeFont, self.typeSize), buf)
|
||||
|
||||
def typeAnsAnswerFilter(self, buf):
|
||||
if not self.typeCorrect:
|
||||
if not self.typeCorrect or not self.typedAnswer:
|
||||
return re.sub(self.typeAnsPat, "", buf)
|
||||
# tell webview to call us back with the input content
|
||||
self.web.eval("_getTypedText();")
|
||||
|
Loading…
Reference in New Issue
Block a user