From 3e5a0968aeca3e1f177c166b7e2c994c2870ff3e Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Mon, 6 Aug 2007 01:07:41 +0000 Subject: [PATCH] Fixed authors breaking rss feeds git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39611 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/sitefeatures/PageComment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sitefeatures/PageComment.php b/code/sitefeatures/PageComment.php index 1f158368..6111e81c 100755 --- a/code/sitefeatures/PageComment.php +++ b/code/sitefeatures/PageComment.php @@ -132,7 +132,7 @@ class PageComment extends DataObject { } function RSSTitle() { - return "Comment by '$this->Name' on " . $this->Parent()->Title; + return "Comment by '". Convert::raw2xml($this->Name) . "' on " . $this->Parent()->Title; } function rss() { $rss = new RSSFeed(DataObject::get("PageComment", "ParentID > 0", "Created DESC", "", 10), "home/", "Page comments", "", "RSSTitle", "Comment", "Name");