diff --git a/ext/bbcode/main.php b/ext/bbcode/main.php index bddda8c5..ba759c6d 100644 --- a/ext/bbcode/main.php +++ b/ext/bbcode/main.php @@ -34,6 +34,10 @@ class BBCode extends FormatterExtension { $text = preg_replace_callback("/(\[url\](?:https?|ftp|irc|mailto):\/\/.*?\[\/url\])/s", array($this, "unwrap"), $text); $text = $this->extract_code($text); + $text = preg_replace("/\[left\](.*?)\[\/left\]/s", "