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
In mustache.js they use triple mustaches to render unescaped content:
All variables are HTML-escaped by default.
If you want to render unescaped HTML, use the triple mustache: {{{name}}}.
You can also use & to unescape a variable.
Triple mustaches in Nustache don`t work.
Since I share templates between client and server, this forces me to use double mustaches everywhere, and I get unneccesary HTML-escaping of data, which is already escaped (in database).
It would be great if triple mustaches for unescaped data worked in Nustache as well.
The text was updated successfully, but these errors were encountered:
Triple staches are supposed to work. I just tested them and they do as long as there's no whitespace inside the staches. I'll fix it so that whitespace is allowed inside in just a bit.
In mustache.js they use triple mustaches to render unescaped content:
Triple mustaches in Nustache don`t work.
Since I share templates between client and server, this forces me to use double mustaches everywhere, and I get unneccesary HTML-escaping of data, which is already escaped (in database).
It would be great if triple mustaches for unescaped data worked in Nustache as well.
The text was updated successfully, but these errors were encountered: