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
This commit is contained in:
Damien Elmes 2014-02-19 21:21:11 +09:00
parent def69fb78b
commit 4c65c594dd

View File

@ -175,8 +175,7 @@ class Template(object):
#pre-defined mods) can be present and those are treated separately #pre-defined mods) can be present and those are treated separately
mods.reverse() mods.reverse()
mods.sort(key=lambda s: not s=="type") mods.sort(key=lambda s: not s=="type")
mods.sort(key=lambda s: s.startswith("cq-") or s.startswith("ca-"))
for mod in mods: for mod in mods:
# built-in modifiers # built-in modifiers
if mod == 'text': if mod == 'text':