diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-03-24 18:05:47 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-03-24 18:05:47 +0000 |
commit | e8e4d92d01725c32ce40e7cd2a07e3a29afc420b (patch) | |
tree | 4c9c315fce70d454f045458a333fe68698ed3a41 /phpBB/includes | |
parent | 56a70484ef567d2a6c238cd22bf5f3bb106f52a3 (diff) | |
download | forums-e8e4d92d01725c32ce40e7cd2a07e3a29afc420b.tar forums-e8e4d92d01725c32ce40e7cd2a07e3a29afc420b.tar.gz forums-e8e4d92d01725c32ce40e7cd2a07e3a29afc420b.tar.bz2 forums-e8e4d92d01725c32ce40e7cd2a07e3a29afc420b.tar.xz forums-e8e4d92d01725c32ce40e7cd2a07e3a29afc420b.zip |
ahhh, there we have it... related to several reports about code blocks and bbcode parsing (#1302)
git-svn-id: file:///svn/phpbb/trunk@5707 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-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 . ']'; } |