You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.
Wondering how to handle the (unlikely but possible) case where {{ or }} is needed in a template.
As I understand it, Mustache supports this syntax to change delimiters before compiling:
Mustache.tags = ["[[", "]]"];
It also supports changing delimiters on the fly like this:
{{=<% %>=}}
Far as I can see, neither of those variants are supported by MustacheCFC. Am I right about that? If so, could they be, or are there other alternatives?
The text was updated successfully, but these errors were encountered:
The way the current parser works it relies on regex parser to find tokens that need processing. Adding support for custom delimiters could probably be done w/out too much work, but allowing for templates to set the delimiters might be more problematic.
I'd certainly have no objects to someone submitting a pull request to add the functionality.
Wondering how to handle the (unlikely but possible) case where {{ or }} is needed in a template.
As I understand it, Mustache supports this syntax to change delimiters before compiling:
It also supports changing delimiters on the fly like this:
Far as I can see, neither of those variants are supported by MustacheCFC. Am I right about that? If so, could they be, or are there other alternatives?
The text was updated successfully, but these errors were encountered: