mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged revisions 55730 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2 ........ r55730 | wrossiter | 2008-06-05 16:25:08 +1200 (Thu, 05 Jun 2008) | 1 line MINOR: removed debug statement ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56909 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ab48465858
commit
9143050226
@ -106,7 +106,6 @@ class BBCodeParser extends TextParser {
|
||||
function parse() {
|
||||
$this->content = str_replace(array('&', '<', '>'), array('&', '<', '>'), $this->content);
|
||||
$this->content = SSHTMLBBCodeParser::staticQparse($this->content);
|
||||
Debug::message($this->content);
|
||||
$this->content = "<p>".$this->content."</p>";
|
||||
$this->content = preg_replace("/([^>\s]\s*)\n\n/", '$1</p><p>', $this->content);
|
||||
$this->content = preg_replace("/([^>\s]\s*)\n/", '$1<br />', $this->content);
|
||||
|
Loading…
Reference in New Issue
Block a user