Replies: 2 comments 9 replies
-
Thank you for raising this issue. I converted it to a discussion, because there is no immediately clear course of action. The triple mustache is a special case with an unclear status in the specs. There is a regular form for the unescaped variable that uses My own Mustache implementation for JavaScript, Wontache (which also powers the playground), treats the third pair of Mustaches as a special sigil that needs to have a matching closing sigil. That means that in Wontache, you could do As for your proposal to allow for a
Theoretically, such problems could be addressed by making the compilers more complicated and more vigilant about user mistakes, but I think this would be solving the wrong problem. Our problem is not that we lack a way to override triple mustaches, but that we have triple mustaches in the first place. I would much rather see a Mustache 2.0 where the triple mustaches are dropped entirely, in favor of the regular |
Beta Was this translation helpful? Give feedback.
-
On my C implementation, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I see test sets and documentation only referring to double mustache delimiter redefinition. Is it intended that triple mustaches are not redefinable? I would very much like to redefine them for consistency with double mustache.
Something like
{{{=|| ||=}}}
might be a consistent syntax.Beta Was this translation helpful? Give feedback.
All reactions