mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Don't show template comments in RSSFeed, or it'll break the XML document
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@68027 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
79baa1b092
commit
fab4b92e06
@ -193,6 +193,7 @@ class RSSFeed extends ViewableData {
|
||||
* Return the content of the RSS feed
|
||||
*/
|
||||
function feedContent() {
|
||||
SSViewer::set_source_file_comments(false);
|
||||
return str_replace(' ', ' ', $this->renderWith('RSSFeed'));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user