mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
use {{FrontSide}} when flipping
This commit is contained in:
parent
528d29511b
commit
3b6964c9c3
1 changed files with 1 additions and 2 deletions
|
@ -286,9 +286,8 @@ Please create a new card type first."""))
|
|||
Anki couldn't find the line between the question and answer. Please \
|
||||
adjust the template manually to switch the question and answer."""))
|
||||
return
|
||||
dst['afmt'] = "{{FrontSide}}\n\n<hr id=answer>\n\n%s" % src['qfmt']
|
||||
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
|
||||
|
||||
def onMore(self, button):
|
||||
|
|
Loading…
Reference in a new issue