From 4c65c594ddc066ea015195c81ed2d2cca40ef4aa Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 19 Feb 2014 21:21:11 +0900 Subject: [PATCH] don't force cloze to start This allows {{kana:cloze:Text}} to work. May allow users to shoot themselves it the foot - will see how it goes in the wild and reconsider if necessary --- anki/template/template.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anki/template/template.py b/anki/template/template.py index 5edab4879..d2f055c61 100644 --- a/anki/template/template.py +++ b/anki/template/template.py @@ -175,8 +175,7 @@ class Template(object): #pre-defined mods) can be present and those are treated separately mods.reverse() mods.sort(key=lambda s: not s=="type") - mods.sort(key=lambda s: s.startswith("cq-") or s.startswith("ca-")) - + for mod in mods: # built-in modifiers if mod == 'text':