use {{FrontSide}} when flipping

This commit is contained in:
Damien Elmes 2012-05-23 20:40:19 +09:00
parent 528d29511b
commit 3b6964c9c3

View file

@ -286,9 +286,8 @@ Please create a new card type first."""))
Anki couldn't find the line between the question and answer. Please \ Anki couldn't find the line between the question and answer. Please \
adjust the template manually to switch the question and answer.""")) adjust the template manually to switch the question and answer."""))
return return
dst['afmt'] = "{{FrontSide}}\n\n<hr id=answer>\n\n%s" % src['qfmt']
dst['qfmt'] = m.group(2).strip() dst['qfmt'] = m.group(2).strip()
dst['afmt'] = "%s\n\n<hr id=answer>\n\n%s" % (m.group(2).strip(),
m.group(1).strip())
return True return True
def onMore(self, button): def onMore(self, button):