Replies: 4 comments
-
I agree that precise control over rendering would be a general improvement and position Mustache more firmly as a general purpose templating solution rather than an HTML orientated one.
Another issue is that when rendering non HTML content (say AppleScript) a failure to utilise The CONTENT_TYPE proposal seems well positioned. The pragma paradigm is backwards compatible and extensible. The suggested default behaviour seems sensible. |
Beta Was this translation helpful? Give feedback.
-
For the record, GRMustache 6.2 has shipped with support for text templates (documentation). |
Beta Was this translation helpful? Give feedback.
-
There is a need for totally disabling HTML-escaping, and have {{name}} render just as {{{name}}}:
Currently proposed solutions fall in one of those two buckets:
After a study of the topic for GRMustache, here is more food for thoughts:
{{% CONTENT_TYPE:TEXT }}
and{{% CONTENT_TYPE:HTML }}
.Beta Was this translation helpful? Give feedback.
All reactions