Avoid double-escaping in class AND template for title/description

see http://trac/silverstripe/changeset/40552 for an invalid fix that wasn't merged


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42106 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 16:00:07 +00:00
parent 98486e0450
commit 0578d3f46a

View File

@ -142,7 +142,7 @@ class RSSFeed extends ViewableData {
* @return string Returns the title of the feed.
*/
function Title() {
return Convert::raw2xml($this->title);
return $this->title;
}
@ -162,7 +162,7 @@ class RSSFeed extends ViewableData {
* @return string Returns the description of the feed.
*/
function Description() {
return Convert::raw2xml($this->description);
return $this->description;
}