Partials don't respect overridden delimiters
KitsuneRal opened this issue · 2 comments
KitsuneRal commented
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.
kainjow commented
Looks like this covers it: https://github.com/mustache/spec/blob/master/specs/delimiters.yml#L73
KitsuneRal commented
The author apparently didn't try using Mustache with LaTeX and the likes... Thanks for the clarification anyway.