Open lucian-dragomir opened 6 years ago
Thank you for your idea! Here are some more detail:
}}
, you can just use it without any trick. EX: {{foo}} }}
}
just after any handlebars token, you can use this: {{#with "}"}}{{.}}{{/with}}
. EX: {{foo}}{{#with "}"}}{{.}}{{/with}}
{
, you can just use it without any trick. EX: { and {{foo}}
.{{
and there is no any handlebars token after it, you can just use it without any trick. EX: {{foo}} {{
{{
and there is handlebars token after it, you should use {{#with "{{"}}{{.}}{{/with}}
. EX: {{#with "{{"}}{{.}}{{/with}}{{foo}}{{#with "{{"}}{{.}}{{/with}}
Hi, if you want to display {{ you can use this: {{#with "{{"}}{{.}}{{/with}} as specified in "Suggested Handlebars Template Practices".
I'm trying to display }} and if i add {{#with "}}"}}{{.}}{{/with}} the render function crashes.
I found an workaround ... to display one } at a time by using {{#with "}"}}{{.}}{{/with}} but it should work with }}.
Thx, Lucian