aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-01-17 18:03:15 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-01-17 18:03:15 +0000
commit4d4eab9c321d9e6fae1753f6c327bc172b34c2e6 (patch)
tree45b9ea44ed357a8a8ac0acc54b9fd85eec1d02d9 /phpBB/includes/message_parser.php
parent4cab6197583eaee831b2bee30838a9f0a7cd6aa7 (diff)
downloadforums-4d4eab9c321d9e6fae1753f6c327bc172b34c2e6.tar
forums-4d4eab9c321d9e6fae1753f6c327bc172b34c2e6.tar.gz
forums-4d4eab9c321d9e6fae1753f6c327bc172b34c2e6.tar.bz2
forums-4d4eab9c321d9e6fae1753f6c327bc172b34c2e6.tar.xz
forums-4d4eab9c321d9e6fae1753f6c327bc172b34c2e6.zip
just preparing...
git-svn-id: file:///svn/phpbb/trunk@5468 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index cb7b898d12..e8d2a93444 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -312,7 +312,7 @@ class bbcode_firstpass extends bbcode
}
// Because highlight_string is specialcharing the text (but we already did this before), we have to reverse this in order to get correct results
- $code = strtr($code, array_flip(get_html_translation_table(HTML_ENTITIES)));
+ $code = html_entity_decode($code);
ob_start();
highlight_string($code);