diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
| commit | b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (patch) | |
| tree | 0ce300329bb2b6ace0e0fd72c94fe5fbb7e4db96 /modules/comment/views/comment.mrss.php | |
| parent | 952c8856098dcfd9673d344fc71be85b303c8fb1 (diff) | |
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'modules/comment/views/comment.mrss.php')
| -rw-r--r-- | modules/comment/views/comment.mrss.php | 12 |
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> <