mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00: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:
parent
a03881cf7f
commit
d1fa772e46
1 changed files with 9 additions and 8 deletions
|
@ -998,6 +998,15 @@ for($i = 0; $i < $total_posts; $i++)
|
||||||
// output
|
// 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
|
// If the board has HTML off but the post has HTML
|
||||||
// on then we process it, else leave it alone
|
// on then we process it, else leave it alone
|
||||||
|
@ -1037,14 +1046,6 @@ for($i = 0; $i < $total_posts; $i++)
|
||||||
}
|
}
|
||||||
$message = make_clickable($message);
|
$message = make_clickable($message);
|
||||||
|
|
||||||
//
|
|
||||||
// Highlight active words (primarily for search)
|
|
||||||
//
|
|
||||||
if( $highlight_active )
|
|
||||||
{
|
|
||||||
$message = preg_replace($highlight_match, $highlight_replace, $message);
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Replace naughty words
|
// Replace naughty words
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue