fix cloze order

must be next to Text now; will document
This commit is contained in:
dae 2014-06-03 18:05:09 +09:00
parent 24e83abe22
commit 8491c907ba

View file

@ -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])