fix error when opening card layout
This commit is contained in:
parent
adaf951a5a
commit
dbd60dba4b
@ -242,7 +242,7 @@ Please create a new card type first."""))
|
||||
txt = txt.replace("<hr id=answer>", "")
|
||||
hadHR = origLen != len(txt)
|
||||
def answerRepl(match):
|
||||
res = self.mw.reviewer.correct("exomple", "an example")
|
||||
res = self.mw.reviewer.correct(u"exomple", u"an example")
|
||||
if hadHR:
|
||||
res = "<hr id=answer>" + res
|
||||
return res
|
||||
|
Loading…
Reference in New Issue
Block a user