Handlebars render safe HTML
I have an Ember application that I need to display some custom text.
If you want to render raw html to the page, use a triple curly brace:
{{{customText}}}
Normally it's only a double curly:
{{customText}}
Source: http://handlebarsjs.com/
Written by Ryan L'Italien
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Handlebars
Authors
wern
18.61K
benjaminrh
9.925K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#