We don't need to escape the summary before parsing bbcode, as the parser does that for us
This commit is contained in:
parent
1058c98081
commit
5668169744
|
@ -113,7 +113,7 @@ class BlogEntry extends Page {
|
||||||
return $this->obj('Content')->FirstParagraph();
|
return $this->obj('Content')->FirstParagraph();
|
||||||
} else {
|
} else {
|
||||||
$content = new Text('Content');
|
$content = new Text('Content');
|
||||||
$content->value = Convert::raw2xml($this->Content);
|
$content->value = $this->Content;
|
||||||
$parser = new BBCodeParser($content->FirstParagraph());
|
$parser = new BBCodeParser($content->FirstParagraph());
|
||||||
return $parser->parse();
|
return $parser->parse();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue