2013-05-14 5 views
0

내 백본 응용 프로그램에서 JSON 파일의 밑줄 템플릿을 렌더링했습니다. HTML에서 정렬되지 않은 목록으로 렌더링하려는 본문 복사본이 있습니다. 텍스트는 HTML을 하나의 전체 문자열로 유지합니다. 이것을 막을 조언이 있습니까? 백본 - 텍스트가 HTML이 아닌 문자열로 렌더링 됨

여기

<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. 
&lt;ul&gt;&lt;li&gt;Tax Credit Administration (including filing of all forms, reports and tax returns).&lt;/li&gt;&lt;li&gt;Tax Credit Advances (either during or upon completion of production)&lt;/li&gt;&lt;li&gt;Deferral of up to 100% of Equipment, Camera and Facilities costs 
&lt;/li&gt;&lt;/ul&gt;</p> 

렌더링 할 때 발생하는 것입니다 내가 JSON 파일이 무엇인지 내 CMS에서 얻고있다 : enter image description here

+0

몇 가지 코드로 붙여 넣을 수 있습니까? 'JSON 파일'이란 무엇입니까? 데이터 또는 템플릿입니까? – poseid

+0

CMS에서 HTML로 인코딩 된 텍스트를 보내고 템플릿에 넣기 전에 해독하고 싶습니까? –

+0

뮤, 맞습니다. – zero

답변

0

나는 당신이 원하는 것은 <li>code</li> 렌더링하는 것입니다 가정 원시 텍스트 대신 목록 항목으로.

이 피들이 도움이 될 수 있습니다. http://jsfiddle.net/fzM4N/