From 2f81632dc665714ea258c5c9ac64e7c24290145a Mon Sep 17 00:00:00 2001 From: misol Date: Sat, 10 Jan 2009 06:39:46 +0000 Subject: [PATCH] fix r5307 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5308 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/rss/tpl/rss20.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/rss/tpl/rss20.html b/modules/rss/tpl/rss20.html index e843e2cf3..a00f3de6d 100644 --- a/modules/rss/tpl/rss20.html +++ b/modules/rss/tpl/rss20.html @@ -4,7 +4,7 @@ {$info->title} {$info->link} - {htmlspecialchars(str_replace('\'', ''',$info->description))} + {str_replace('\'', ''', htmlspecialchars($info->description))} {$info->language} {$info->date} {$info->total_count} @@ -14,13 +14,13 @@ {str_replace('\'', ''',$oDocument->getNickName())} {$oDocument->getPermanentUrl()} - {htmlspecialchars(str_replace('\'', ''',$oDocument->getContent(false,false,true)))} + {str_replace('\'', ''', htmlspecialchars($oDocument->getContent(false,false,true)))} - {htmlspecialchars(str_replace('\'', ''',$oDocument->getContentText(100)))} + {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100)))} {$oDocument->getRegdateGM()} - {htmlspecialchars(str_replace('\'', ''',$tag))} + {str_replace('\'', ''', htmlspecialchars($tag))}