kainjow/Mustache

Partials don't respect overridden delimiters

KitsuneRal opened this issue · 2 comments

Case in point: using the following template:

{{=[+ +]=}}[+>partial+]

and assuming I have partial defined as

{{^nothing}}1{{/nothing}}[+^nothing+]2[+/nothing+]

I see

1[+^nothing+]2[+/nothing+]

rather than

{{^nothing}}1{{/nothing}}2

I wonder if it's a bug or a feature. The original Mustache manual is silent on this case.

The author apparently didn't try using Mustache with LaTeX and the likes... Thanks for the clarification anyway.