diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 301f50816d..49b422d077 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -456,8 +456,8 @@ if( isset($HTTP_GET_VARS['highlight']) )
{
if( trim($words[$i]) != "" )
{
- $highlight_match[] = "#\b(" . str_replace("\*", ".*?", phpbb_preg_quote($words[$i], "#")) . ")(?!.*?<\/a>)(?!.*?\[/url\])\b#i";
- $highlight_replace[] = "\\1";
+ $highlight_match[] = "#\b(" . str_replace("\*", ".*?", phpbb_preg_quote($words[$i], "#")) . ")(?!.*?<\/a>)(?!.*?\[/url\])(?!.*?<\/span>)\b#i";
+ $highlight_replace[] = '\\1';
}
}
@@ -920,7 +920,7 @@ for($i = 0; $i < $total_posts; $i++)
if( !empty($postrow[$i]['user_icq']) )
{
- $icq_status_img = '
';
+ $icq_status_img = '
';
$icq_add_img = '
';
}
else