backbone.js - Backbone - Render Text as HTML not a String -
i have backbone app rendering underscore template json file. have body copy want render unordered list in html. text keeps rendered html 1 whole string. advice stop this?
this getting cms have in json file
<p>leading provider of tax credit services , financing productions wishing access state's <b>recently increased</b> 20%-25% production tax credit. <ul><li>tax credit administration (including filing of forms, reports , tax returns).</li><li>tax credit advances (either during or upon completion of production)</li><li>deferral of 100% of equipment, camera , facilities costs </li></ul></p>
here happens when rendered:
i assume want have <li>code</li>
rendered list item instead of raw text.
this fiddle may help: http://jsfiddle.net/fzm4n/
Comments
Post a Comment