From 6ba50e34d60441e3eaf6c9fe1bff95a902393c84 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sat, 3 Jun 2006 22:19:41 +0000 Subject: - removed useless code from style.php - added a view template cache mode to acp_styles - syntax highlighting for the acp css - completed refresh actions for themes and templates - fixed theme and template installation - use a function for generating database theme data - removed useless code from mcp_queue.php we might need to do some more tests of acp_styles with safe_mode on git-svn-id: file:///svn/phpbb/trunk@6007 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/message_parser.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'phpBB/includes/message_parser.php') diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index c961062ac8..344fdff8a6 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -338,10 +338,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 = html_entity_decode($code); - ob_start(); - highlight_string($code); - $code = ob_get_contents(); - ob_end_clean(); + $code = highlight_string($code, true); $str_from = array('', '', '', '[', ']', '.', ':'); -- cgit v1.2.1