138
rated 0 times
[
139]
[
1]
/ answers: 1 / hits: 109175
/ 11 Years ago, fri, november 29, 2013, 12:00:00
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>
More From » handlebars.js