From d6648c0affd122407b7567442aa924e9138104e7 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 4 Jul 2009 08:17:12 -0700 Subject: Fix for ticket #477. Use nl2br method when rendering comment::text and item::description. In addition add p::clean or p::purify to places that xss cleaning had missed (i.e. rss feeds) --- modules/notification/views/comment_published.html.php | 2 +- modules/notification/views/item_added.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/notification') diff --git a/modules/notification/views/comment_published.html.php b/modules/notification/views/comment_published.html.php index 70709979..4a56cdad 100644 --- a/modules/notification/views/comment_published.html.php +++ b/modules/notification/views/comment_published.html.php @@ -8,7 +8,7 @@ - + diff --git a/modules/notification/views/item_added.html.php b/modules/notification/views/item_added.html.php index 4fa5d42d..87ea90fa 100644 --- a/modules/notification/views/item_added.html.php +++ b/modules/notification/views/item_added.html.php @@ -21,7 +21,7 @@ description): ?> - +
text) ?>text)) ?>
description) ?>description)) ?>
-- cgit v1.2.3