1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

Semi-fix for bug #511849 , see comments for more details

git-svn-id: file:///svn/phpbb/trunk@2046 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2002-02-03 18:34:36 +00:00
parent a03881cf7f
commit d1fa772e46

View File

@@ -998,6 +998,15 @@ for($i = 0; $i < $total_posts; $i++)
// output
//
//
// 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
@@ -1037,14 +1046,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
//