summaryrefslogtreecommitdiff
path: root/inc/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/search.php')
-rw-r--r--inc/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/search.php b/inc/search.php
index eac70cd05..eea70f7e0 100644
--- a/inc/search.php
+++ b/inc/search.php
@@ -465,7 +465,7 @@ function search_regex(&$data,$base,$file,$reg,$words){
htmlspecialchars(utf8_substr($text,$f,$l)).
'<span class="search_sep"> ... </span>';
$mark = '('.join('|', $words).')';
- $snippet = preg_replace('#'.$mark.'#si','<span class="search_hit">\\1</span>',$snippet);
+ $snippet = preg_replace('#'.$mark.'#si','<strong class="search_hit">\\1</strong>',$snippet);
$data[] = array(
'id' => pathID($file),