diff options
-rw-r--r-- | phpBB/includes/message_parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index c442c92c6f..29e817a369 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -348,7 +348,7 @@ class bbcode_firstpass extends bbcode ob_end_clean(); $str_from = array('<font color="syntax', '</font>', '<code>', '</code>','[', ']', '.', ':'); - $str_to = array('<span class="syntax', '</span>', '', '', '[', ']', '.', ':'); + $str_to = array('<span class="syntax', '</span>', '', '', '[', ']', '.', ':'); if ($remove_tags) { @@ -374,7 +374,7 @@ class bbcode_firstpass extends bbcode default: $str_from = array('<', '>', '[', ']', '.', ':'); - $str_to = array('<', '>', '[', ']', '.', ':'); + $str_to = array('<', '>', '[', ']', '.', ':'); $out .= '[code:' . $this->bbcode_uid . ']' . str_replace($str_from, $str_to, $code) . '[/code:' . $this->bbcode_uid . ']'; } |