Fix RSS feed when using WYSIWYG editing

This commit is contained in:
Andrew O'Neil 2008-01-07 19:40:36 +00:00
parent 9590b3558f
commit 43fd90621e
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class BlogEntry extends Page {
*/ */
function ParsedContent() { function ParsedContent() {
if(self::$allow_wysiwyg_editing) { if(self::$allow_wysiwyg_editing) {
return $this->Content; return $this->obj('Content');
} else { } else {
$parser = new BBCodeParser($this->Content); $parser = new BBCodeParser($this->Content);
$content = new Text('Content'); $content = new Text('Content');