Last Updated: December 26, 2020
· dsci

Raw output Handlebars.js

It's not that kind of protip, mostly a reminder to myself.

Having an HTML string within a context object that is passed to a Handlebars template and getting the raw HTML output use the triple {{{ }}} brackets


And all tags not interpreted by the browser are gone.

2 Responses
Add your response

Give 5, bro! Tnx!

over 1 year ago ·

Thanks :)

over 1 year ago ·