Insert html in a handlebar template without escaping
handlebars.js, javascript
Solution
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", `{{{`.
Problem
Is there a way to insert a string with html tags into a handlebars template without getting the tags escaped in the outcoming string? template.js: ``` <p>{{content}}</p> ``` use the template ``` HBS.template({content: "<i>test</i> 123"}) ``` actual outcome: ``` <p><i>test</i> 123</p> ``` expected result: ``` <p><i>test</i> 123</p> ```