mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-11 07:00:51 +01:00
bold/underlerine matches
This commit is contained in:
@@ -337,7 +337,7 @@ define('search', ['translator', 'storage', 'hooks', 'alerts'], function (transla
|
||||
});
|
||||
|
||||
result.html(result.html().replace(regex, function (match, p1) {
|
||||
return '<strong class="search-match">' + p1 + '</strong>';
|
||||
return '<strong class="search-match fw-bold text-decoration-underline">' + p1 + '</strong>';
|
||||
}));
|
||||
|
||||
nested.forEach(function (nestedEl, i) {
|
||||
|
||||
Reference in New Issue
Block a user