aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-06-09 19:20:51 +0000
committerNils Adermann <naderman@naderman.de>2006-06-09 19:20:51 +0000
commit753994810a19422d7145fcd615754dcb558bc52a (patch)
tree89515a32fd02cc5ba493df5c374060fefc72b40e /phpBB/includes/message_parser.php
parentadc6d2a0c1d7b63caf07184a5e28580db1e1780f (diff)
downloadforums-753994810a19422d7145fcd615754dcb558bc52a.tar
forums-753994810a19422d7145fcd615754dcb558bc52a.tar.gz
forums-753994810a19422d7145fcd615754dcb558bc52a.tar.bz2
forums-753994810a19422d7145fcd615754dcb558bc52a.tar.xz
forums-753994810a19422d7145fcd615754dcb558bc52a.zip
- a few adjustments to permissions, specifically with regard to global topics
- forgot to change a line in permission trace [Bug #2100] - syntax highlighting for php5 - [Bug #2093] git-svn-id: file:///svn/phpbb/trunk@6028 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-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 e16f930cce..11b4bb5ccb 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -354,8 +354,8 @@ class bbcode_firstpass extends bbcode
$code = highlight_string($code, true);
- $str_from = array('<font color="syntax', '</font>', '<code>', '</code>','[', ']', '.', ':');
- $str_to = array('<span class="syntax', '</span>', '', '', '&#91;', '&#93;', '&#46;', '&#58;');
+ $str_from = array('<span style="color: ', '<font color="syntax', '</font>', '<code>', '</code>','[', ']', '.', ':');
+ $str_to = array('<span class="', '<span class="syntax', '</span>', '', '', '&#91;', '&#93;', '&#46;', '&#58;');
if ($remove_tags)
{