mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
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();
|
||||
} else {
|
||||
$content = new Text('Content');
|
||||
$content->value = Convert::raw2xml($this->Content);
|
||||
$content->value = $this->Content;
|
||||
$parser = new BBCodeParser($content->FirstParagraph());
|
||||
return $parser->parse();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user