aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-03-24 18:05:47 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-03-24 18:05:47 +0000
commite8e4d92d01725c32ce40e7cd2a07e3a29afc420b (patch)
tree4c9c315fce70d454f045458a333fe68698ed3a41 /phpBB/includes
parent56a70484ef567d2a6c238cd22bf5f3bb106f52a3 (diff)
downloadforums-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.php4
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>', '', '', '&#91;', '&#93;', '&#46;', '&#58');
+ $str_to = array('<span class="syntax', '</span>', '', '', '&#91;', '&#93;', '&#46;', '&#58;');
if ($remove_tags)
{
@@ -374,7 +374,7 @@ class bbcode_firstpass extends bbcode
default:
$str_from = array('<', '>', '[', ']', '.', ':');
- $str_to = array('&lt;', '&gt;', '&#91;', '&#93;', '&#46;', '&#58');
+ $str_to = array('&lt;', '&gt;', '&#91;', '&#93;', '&#46;', '&#58;');
$out .= '[code:' . $this->bbcode_uid . ']' . str_replace($str_from, $str_to, $code) . '[/code:' . $this->bbcode_uid . ']';
}