mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix cloze order
must be next to Text now; will document
This commit is contained in:
parent
24e83abe22
commit
8491c907ba
1 changed files with 2 additions and 2 deletions
|
@ -114,8 +114,8 @@ def test_cloze_ordinals():
|
|||
|
||||
#We replace the default Cloze template
|
||||
t = mm.newTemplate("ChainedCloze")
|
||||
t['qfmt'] = "{{cloze:text:Text}}"
|
||||
t['afmt'] = "{{text:cloze:Text}}" #independent of the order of mods
|
||||
t['qfmt'] = "{{text:cloze:Text}}"
|
||||
t['afmt'] = "{{text:cloze:Text}}"
|
||||
mm.addTemplate(m, t)
|
||||
mm.save(m)
|
||||
d.models.remTemplate(m, m['tmpls'][0])
|
||||
|
|
Loading…
Reference in a new issue