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