#380 rss에서 html을 제대로 출력하도록 수정

This commit is contained in:
khongchi 2014-01-29 11:49:47 +09:00
parent 9d9dda94c6
commit 58e141c48a
3 changed files with 8 additions and 8 deletions

View file

@ -29,9 +29,9 @@
<comments>{$oDocument->getPermanentUrl()}#comment</comments>
<!--@end-->
<!--@if($open_rss_config[$oDocument->get('module_srl')]=='Y')-->
<description><![CDATA[{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]></description>
<description><![CDATA[{$oDocument->getTransContent(false,false,true)}]]></description>
<!--@else-->
<description><![CDATA[{str_replace('\'', '&apos;', htmlspecialchars($oDocument->getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]></description>
<description><![CDATA[{$oDocument->getContentText(100)}]]></description>
<!--@end-->
<pubDate>{$oDocument->getRegdateGM()}</pubDate>
<!--@foreach($oDocument->get('tag_list') as $tag)-->