X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnoticesearch.php;h=69dcd1a46c08d815f988d04e2eb1feed0409f61d;hb=60335fcbdf7b2ae4d27e7d413e7f5f46f61feda5;hp=1cd987df39736be5a0638bbd851291d27958f056;hpb=277b464054b24f8d680ddbe762c9e438f6679592;p=quix0rs-gnu-social.git
diff --git a/actions/noticesearch.php b/actions/noticesearch.php
index 1cd987df39..69dcd1a46c 100644
--- a/actions/noticesearch.php
+++ b/actions/noticesearch.php
@@ -198,7 +198,7 @@ class SearchNoticeListItem extends NoticeListItem {
$result = preg_replace($pattern, '\\1', $text);
/* Remove highlighting from inside links, loop incase multiple highlights in links */
- $pattern = '/(href="[^"]*)('.$options.')<\/strong>([^"]*")/iU';
+ $pattern = '/(\w+="[^"]*)('.$options.')<\/strong>([^"]*")/iU';
do {
$result = preg_replace($pattern, '\\1\\2\\3', $result, -1, $count);
} while ($count);