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");