0
我有我的主幹應用從JSON文件呈現下劃線模板。我有一些我想用HTML中的無序列表呈現的正文副本。文本將整個字符串呈現爲HTML。任何建議,以阻止此?主幹 - 將文本呈現爲HTML而不是字符串
這是我在一個JSON文件什麼我從我的CMS越來越
<p>Leading provider of tax credit services and financing for productions wishing to access the state's <b>recently increased</b> 20%-25% Production Tax Credit.
<ul><li>Tax Credit Administration (including filing of all forms, reports and tax returns).</li><li>Tax Credit Advances (either during or upon completion of production)</li><li>Deferral of up to 100% of Equipment, Camera and Facilities costs
</li></ul></p>
下面是渲染時會發生什麼:
你能粘貼一些代碼嗎? 「JSON文件」是什麼意思,它是數據還是模板? – poseid 2013-05-14 13:07:15
因此,您的CMS向您發送HTML編碼文本,並且在將其放入模板之前,您想對其進行解碼? – 2013-05-14 19:14:50
畝,是的。 – zero 2013-05-17 08:59:07