mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix incorrect encoding of HTML content in RSS feeds
This commit is contained in:
parent
aa7dc75f56
commit
231a5a5d4c
2 changed files with 6 additions and 2 deletions
|
|
@ -19,7 +19,11 @@
|
|||
<item rdf:about="{$oDocument->getPermanentUrl()}">
|
||||
<title>{$oDocument->getTitleText()}</title>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<description>{$oDocument->getContentText(200)}</description>
|
||||
<!--@if($open_rss_config[$oDocument->get('module_srl')]=='Y')-->
|
||||
<description>{$oDocument->getContentPlainText()}</description>
|
||||
<!--@else-->
|
||||
<description>{$oDocument->getContentText(100)}</description>
|
||||
<!--@end-->
|
||||
<dc:date>{$oDocument->getRegdate('Y-m-d\TH:i:sP')}</dc:date>
|
||||
</item>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<comments>{$oDocument->getPermanentUrl()}#comment</comments>
|
||||
<!--@end-->
|
||||
<!--@if($open_rss_config[$oDocument->get('module_srl')]=='Y')-->
|
||||
<description>{$oDocument->getTransContent(false,false,true)}</description>
|
||||
<description>{escape($oDocument->getTransContent(false,false,true))}</description>
|
||||
<!--@else-->
|
||||
<description>{$oDocument->getContentText(100)}</description>
|
||||
<!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue