Closed jihin closed 3 years ago
How to render html from variable, I need to render html string. Example
hogan.compile("<div>{{html}}</div>").render({html:"<div>test</div>"})
This rendering as string. not coverting to html
You want {{{ ... }}}, but I don't recommend using that.
{{{ ... }}}
How to render html from variable, I need to render html string. Example
hogan.compile("<div>{{html}}</div>").render({html:"<div>test</div>"})
This rendering as string. not coverting to html