Reputation: 5089
The content of my blog post contains HTML tag in it, and I'm using jQuery Templates (remote loading, following this post - http://encosia.com/2010/12/02/jquery-templates-composite-rendering-and-remote-loading/), but they did not format the text with the HTML tags, instead, the tags are displayed as plain text. What do I need to do in order for the HTML to be formatted?
Thanks.
Upvotes: 0
Views: 2034
Reputation: 60580
You can use {{html expression}}
to render unencoded HTML in templates.
http://api.jquery.com/template-tag-html
Upvotes: 2