summaryrefslogtreecommitdiff
path: root/modules/comment/views/comment.mrss.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-03 09:26:31 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-03 09:26:31 -0700
commit715d714ade637b6292bab378c4d7deb332542477 (patch)
tree5ef6af71c9ac21d557abca8f7895a85d2a20e929 /modules/comment/views/comment.mrss.php
parentbd1b2f414741bb9bb68c8f94a291bedd5c9925c0 (diff)
parent0f9bfbdd572c44ab6b095e18f376c6d340f5fd26 (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'modules/comment/views/comment.mrss.php')
-rw-r--r--modules/comment/views/comment.mrss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/views/comment.mrss.php b/modules/comment/views/comment.mrss.php
index 4f520144..e27bc44f 100644
--- a/modules/comment/views/comment.mrss.php
+++ b/modules/comment/views/comment.mrss.php
@@ -22,14 +22,14 @@
<lastBuildDate><?= $pub_date ?></lastBuildDate>
<? foreach ($feed->children as $child): ?>
<item>
- <title><?= p::clean($child->title) ?></title>
+ <title><?= p::purify($child->title) ?></title>
<link><?= p::clean($child->item_uri) ?></link>
<author><?= p::clean($child->author) ?></author>
<guid isPermaLink="true"><?= $child->item_uri ?></guid>
<pubDate><?= $child->pub_date ?></pubDate>
<content:encoded>
<![CDATA[
- <p><?= p::clean($child->text) ?></p>
+ <p><?= nl2br(p::purify($child->text)) ?></p>
<p>
<img alt="" src="<?= $child->thumb_url ?>"
height="<?= $child->thumb_height ?>" width="<?= $child->thumb_width ?>" />