mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix error when opening card layout
This commit is contained in:
parent
adaf951a5a
commit
dbd60dba4b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue