We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98088c9 + e5d5f5d commit 36e5525Copy full SHA for 36e5525
src/front-end/searcher/searcher.js
@@ -29,7 +29,8 @@ window.search = window.search || {};
29
searchicon = document.getElementById('search-toggle'),
30
content = document.getElementById('content'),
31
32
- mark_exclude = [],
+ // SVG text elements don't render if inside a <mark> tag.
33
+ mark_exclude = ["text"],
34
marker = new Mark(content),
35
URL_SEARCH_PARAM = 'search',
36
URL_MARK_PARAM = 'highlight',
0 commit comments