mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Or this one even ... this is not easy ...
git-svn-id: file:///svn/phpbb/trunk@2068 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cec8dba611
commit
44562cfc44
1 changed files with 2 additions and 2 deletions
|
@ -458,8 +458,8 @@ if( isset($HTTP_GET_VARS['highlight']) )
|
||||||
{
|
{
|
||||||
if( trim($words[$i]) != "" )
|
if( trim($words[$i]) != "" )
|
||||||
{
|
{
|
||||||
$highlight_match[] = "#\b(" . str_replace("\*", ".*?", $words[$i]) . ")(?!(.*?".">.*?<)|(.*?\">))\b#i";
|
$highlight_match[] = "#\b(\/?)(" . str_replace("\*", ".*?", $words[$i]) . ")(?!(.*?".">.*?<)|(.*?\">)|((1)?".">))\b#i";
|
||||||
$highlight_replace[] = '<span style="color:#' . $theme['fontcolor3'] . '"><b>\1</b></span>';
|
$highlight_replace[] = '<span style="color:#' . $theme['fontcolor3'] . '"><b>\2</b></span>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue