diff --git a/parsers/BBCodeParser.php b/parsers/BBCodeParser.php index c9618218e..891f74f51 100644 --- a/parsers/BBCodeParser.php +++ b/parsers/BBCodeParser.php @@ -144,7 +144,11 @@ class BBCodeParser extends TextParser { */ function parse() { $this->content = str_replace(array('&', '<', '>'), array('&', '<', '>'), $this->content); - $this->content = SSHTMLBBCodeParser::staticQparse($this->content); + + $p = new SSHTMLBBCodeParser(); + $this->content = $p->qparse($this->content); + unset($p); + $this->content = "

".$this->content."

"; $this->content = preg_replace('/(]*>)\s+/i', '\\1', $this->content);