We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5956dc4 + 6e4bcde commit 5b994fcCopy full SHA for 5b994fc
CHANGES
@@ -20,6 +20,7 @@ Bugs fixed
20
from a property of the class
21
* #9188: autosummary: warning is emitted if list value is set to
22
autosummary_generate
23
+* #8380: html search: tags for search result are broken
24
25
Testing
26
--------
sphinx/themes/basic/static/searchtools.js
@@ -509,7 +509,7 @@ var Search = {
509
var excerpt = ((start > 0) ? '...' : '') +
510
$.trim(text.substr(start, 240)) +
511
((start + 240 - text.length) ? '...' : '');
512
- var rv = $('<p class="context"></div>').text(excerpt);
+ var rv = $('<p class="context"></p>').text(excerpt);
513
$.each(hlwords, function() {
514
rv = rv.highlightText(this, 'highlighted');
515
});
0 commit comments