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>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…