Insert html in a handlebar template without escaping
Try like
<p>{{{content}}}</p>
official reference:
Handlebars HTML-escapes values returned by a
{{expression}}
. If you don't want Handlebars to escape a value, use the "triple-stash",{{{
.
In your template you must add triple mustaches like this. <p>{{{content}}}</p>
According to Handlebars documentation, http://handlebarsjs.com/expressions.html
Quote from documentation,
If you don't want Handlebars to escape a value, use the "triple-stash",
{{{
Pass the raw HTML to Handlebars template and get the raw HTML output by using triple brackets.
{{{foo}}}