diff options
author | Eric Huss <eric@huss.org> | 2021-01-04 14:20:36 -0800 |
---|---|---|
committer | Eric Huss <eric@huss.org> | 2021-01-04 14:20:36 -0800 |
commit | 28387130c02e6fdaaf1ccf90bc8c3915dd5c3860 (patch) | |
tree | 3a7f04b638ed4564e72df76196ccc980e43d61b3 /src | |
parent | 33d3d9c3ec5bc33f32da1fa26c2bbc174a6bb128 (diff) |
Fix search highlighting with multiple words.
Diffstat (limited to 'src')
-rw-r--r-- | src/theme/searcher/searcher.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theme/searcher/searcher.js b/src/theme/searcher/searcher.js index acf3d50c..3bfdc3e4 100644 --- a/src/theme/searcher/searcher.js +++ b/src/theme/searcher/searcher.js @@ -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 }); |