mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +09:00
#380 rss에서 html을 제대로 출력하도록 수정
This commit is contained in:
parent
9d9dda94c6
commit
58e141c48a
3 changed files with 8 additions and 8 deletions
|
|
@ -11,7 +11,7 @@
|
|||
<link rel="self" type="application/atom+xml" href="{$info->id}"/>
|
||||
<generator uri="http://www.xpressengine.com/">XpressEngine</generator>
|
||||
<!--@foreach($document_list as $oDocument)--> <entry>
|
||||
<title><![CDATA[{str_replace('\'', ''', htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]></title>
|
||||
<title><![CDATA[{$oDocument->getTitleText()}]]></title>
|
||||
<id>{$oDocument->getPermanentUrl()}</id>
|
||||
<published>{$oDocument->getRegdate('Y-m-d\TH:i:sP')}</published>
|
||||
<updated>{zdate($oDocument->get('last_update'),'Y-m-d\TH:i:sP')}</updated>
|
||||
|
|
@ -24,9 +24,9 @@
|
|||
<!--@end-->
|
||||
</author>
|
||||
<!--@if($open_rss_config[$oDocument->get('module_srl')]=='Y')-->
|
||||
<content type="html"><![CDATA[{str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]></content>
|
||||
<content type="html"><![CDATA[{$oDocument->getTransContent(false,false,true)}]]></content>
|
||||
<!--@else-->
|
||||
<summary type="text"><![CDATA[{str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]></summary>
|
||||
<summary type="text"><![CDATA[{$oDocument->getContentText(100)}]]></summary>
|
||||
<!--@end-->
|
||||
<!--@foreach($oDocument->get('tag_list') as $tag)-->
|
||||
<category term="{str_replace('\'', ''', htmlspecialchars($tag, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue