From c01ac42c4604b3b129e8089e0dc683ebd418b380 Mon Sep 17 00:00:00 2001
From: Andy Staudacher
Date: Sat, 29 Aug 2009 12:48:40 -0700
Subject: Refactor all calls of p::clean() to SafeString::of() and p::purify()
to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
---
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 2b5b13c1..ae7762d9 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
- = p::clean($feed->title) ?>
+ = SafeString::of($feed->title) ?>
= $feed->uri ?>
- = p::clean($feed->description) ?>
+ = SafeString::of($feed->description) ?>
en-us
@@ -22,14 +22,14 @@
= $pub_date ?>
foreach ($feed->children as $child): ?>
-
- = p::purify($child->title) ?>
- = p::clean($child->item_uri) ?>
- = p::clean($child->author) ?>
+ = SafeString::purify($child->title) ?>
+ = SafeString::of($child->item_uri) ?>
+ = SafeString::of($child->author) ?>
= $child->item_uri ?>
= $child->pub_date ?>
= nl2br(p::purify($child->text)) ?>
+ = nl2br(SafeString::purify($child->text)) ?>
--
cgit v1.2.3