diff options
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 82a359c15c..5c117953dd 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -999,6 +999,15 @@ for($i = 0; $i < $total_posts; $i++) // // + // Highlight active words (primarily for search) + // + if( $highlight_active ) + { + $message = preg_replace($highlight_match, $highlight_replace, $message); + } + + + // // If the board has HTML off but the post has HTML // on then we process it, else leave it alone // @@ -1038,14 +1047,6 @@ for($i = 0; $i < $total_posts; $i++) $message = make_clickable($message); // - // Highlight active words (primarily for search) - // - if( $highlight_active ) - { - $message = preg_replace($highlight_match, $highlight_replace, $message); - } - - // // Replace naughty words // if( count($orig_word) ) |