Allow Html Unescaped Output
Perhaps create a tag that means "allow html unescaped output", similar to jade?
http://stackoverflow.com/questions/6926247/nodejs-jade-escape-markup
The Mustache spec already supports this with triple brace:
{{{" "}}}
Ha! My bad. Thanks for schooling me on that
What about if you change delimiters?
I have the same question as @denisrobert. What if we've changed delimiters?
Found the answer. I'm using assemble (https://github.com/assemble/assemble/), so it's already using double curly braces. In order to be able to use the double curly braces with Hogan I simply escaped them with a backslash so Assemble wouldn't try to parse w/handlebars.
I Can't get HTML escape to work with changed delimiters. Any help in the direction ?
@wardhanster @bentedder @denisrobert I know, this is quite old, but still.
Mustache specs allows to use & character after the delimiter. It works the same way as triple brace, but can be used with other delimiters as well.
From the spec:
You can also use & to unescape a variable: {{& name}}. This may be useful when changing delimiters (see "Set Delimiter" below).
See working example with changed delimiters on RequireBin:
@denisrobert @bentedder @wardhanster
I got it to work with using: [[{variable}]]
