summaryrefslogtreecommitdiff
path: root/web-ui/app/js/search/results_highlighter.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/search/results_highlighter.js')
-rw-r--r--web-ui/app/js/search/results_highlighter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/search/results_highlighter.js b/web-ui/app/js/search/results_highlighter.js
index 2c7d1cc7..9e3ba167 100644
--- a/web-ui/app/js/search/results_highlighter.js
+++ b/web-ui/app/js/search/results_highlighter.js
@@ -40,7 +40,7 @@ define(
var domIdent = data.where;
if(this.attr.keywords) {
_.each(this.attr.keywords, function (keyword) {
- $(domIdent).highlightRegex(new RegExp('\\b' + keyword, 'i'), {
+ $(domIdent).highlightRegex(new RegExp(keyword, 'i'), {
tagType: 'em',
className: 'search-highlight'
});