From b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 Mon Sep 17 00:00:00 2001
From: Andy Staudacher
Date: Sat, 29 Aug 2009 22:54:20 -0700
Subject: Update all code to use helper method html::clean(), html::purify(),
... instead of SafeString directly.
---
modules/comment/views/comment.mrss.php | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'modules/comment/views/comment.mrss.php')
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">
Gallery 3
- = SafeString::of($feed->title) ?>
+ = html::clean($feed->title) ?>
= $feed->uri ?>
- = SafeString::of($feed->description) ?>
+ = html::clean($feed->description) ?>
en-us
@@ -22,14 +22,14 @@
= $pub_date ?>
foreach ($feed->children as $child): ?>
-
- = SafeString::purify($child->title) ?>
- = SafeString::of($child->item_uri) ?>
- = SafeString::of($child->author) ?>
+ = html::purify($child->title) ?>
+ = html::clean($child->item_uri) ?>
+ = html::clean($child->author) ?>
= $child->item_uri ?>
= $child->pub_date ?>
= nl2br(SafeString::purify($child->text)) ?>
+ = nl2br(html::purify($child->text)) ?>
--
cgit v1.2.3