diff options
-rw-r--r-- | inc/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 148d111aa..c4c334892 100644 --- a/inc/html.php +++ b/inc/html.php @@ -267,7 +267,7 @@ function html_hilight($html,$regex){ $regex = preg_replace('![\[\]()/\\\\?\.+*]+!','',$regex); if ($regex === '') return $html; - $html = preg_replace_callback("/((<[^>]*)|$regex)/i",'html_hilight_callback',$html); + $html = preg_replace_callback("/((<[^>]*)|$regex)/ui",'html_hilight_callback',$html); return $html; } |