Fix search highlighting with multiple words.
This commit is contained in:
parent
33d3d9c3ec
commit
28387130c0
|
@ -296,7 +296,7 @@ window.search = window.search || {};
|
|||
}
|
||||
|
||||
if (url.params.hasOwnProperty(URL_MARK_PARAM)) {
|
||||
var words = url.params[URL_MARK_PARAM].split(' ');
|
||||
var words = decodeURIComponent(url.params[URL_MARK_PARAM]).split(' ');
|
||||
marker.mark(words, {
|
||||
exclude: mark_exclude
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue