summaryrefslogtreecommitdiff
path: root/modules/comment/views/comment.mrss.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/views/comment.mrss.php')
-rw-r--r--modules/comment/views/comment.mrss.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/comment/views/comment.mrss.php b/modules/comment/views/comment.mrss.php
index ae7762d9..c2a4b538 100644
--- a/modules/comment/views/comment.mrss.php
+++ b/modules/comment/views/comment.mrss.php
@@ -6,9 +6,9 @@
xmlns:fh="http://purl.org/syndication/history/1.0">
<channel>
<generator>Gallery 3</generator>
- <title><?= SafeString::of($feed->title) ?></title>
+ <title><?= html::clean($feed->title) ?></title>
<link><?= $feed->uri ?></link>
- <description><?= SafeString::of($feed->description) ?></description>
+ <description><?= html::clean($feed->description) ?></description>
<language>en-us</language>
<atom:link rel="self" href="<?= $feed->uri ?>" type="application/rss+xml" />
<fh:complete/>
@@ -22,14 +22,14 @@
<lastBuildDate><?= $pub_date ?></lastBuildDate>
<? foreach ($feed->children as $child): ?>
<item>
- <title><?= SafeString::purify($child->title) ?></title>
- <link><?= SafeString::of($child->item_uri) ?></link>
- <author><?= SafeString::of($child->author) ?></author>
+ <title><?= html::purify($child->title) ?></title>
+ <link><?= html::clean($child->item_uri) ?></link>
+ <author><?= html::clean($child->author) ?></author>
<guid isPermaLink="true"><?= $child->item_uri ?></guid>
<pubDate><?= $child->pub_date ?></pubDate>
<content:encoded>
<![CDATA[
- <p><?= nl2br(SafeString::purify($child->text)) ?></p>
+ <p><?= nl2br(html::purify($child->text)) ?></p>
<p>
<img alt="" src="<?= $child->thumb_url ?>"
height="<?= $child->thumb_height ?>" width="<?= $child->thumb_width ?>" />