File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
sphinx/themes/basic/static Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ Bugs fixed
2020 from a property of the class
2121* #9188: autosummary: warning is emitted if list value is set to
2222 autosummary_generate
23+ * #8380: html search: tags for search result are broken
2324* #9198: i18n: Babel emits errors when running compile_catalog
2425
2526Testing
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ var Search = {
509509 var excerpt = ( ( start > 0 ) ? '...' : '' ) +
510510 $ . trim ( text . substr ( start , 240 ) ) +
511511 ( ( start + 240 - text . length ) ? '...' : '' ) ;
512- var rv = $ ( '<p class="context"></div >' ) . text ( excerpt ) ;
512+ var rv = $ ( '<p class="context"></p >' ) . text ( excerpt ) ;
513513 $ . each ( hlwords , function ( ) {
514514 rv = rv . highlightText ( this , 'highlighted' ) ;
515515 } ) ;
You can’t perform that action at this time.
0 commit comments