dae/anki — pull request #65 by julienbaley (2014-02-19 10:37:09+00:00)
Title: Fixes behaviour for {{type:cloze:Field}}

Previous change to support chained modifiers broke the only then supported chained modifier, {{type:cloze:Field}}. This pull request fixes it, with two assumptions (that were already assumed before support for chained modifiers was added):
1) type: can only be used as the leftmost modifiers. (and behaves just as before)
2) because of the nature of type: (doesn't transform the text displayed but replaces it with a text box, and cloze: is treated as an argument to it, rather than a modifier), only cloze: or other future pre-defined modifiers can come after.