mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
98486e0450
commit
0578d3f46a
@ -142,7 +142,7 @@ class RSSFeed extends ViewableData {
|
|||||||
* @return string Returns the title of the feed.
|
* @return string Returns the title of the feed.
|
||||||
*/
|
*/
|
||||||
function Title() {
|
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.
|
* @return string Returns the description of the feed.
|
||||||
*/
|
*/
|
||||||
function Description() {
|
function Description() {
|
||||||
return Convert::raw2xml($this->description);
|
return $this->description;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user