mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 00:42:11 -05:00
HTML Search: HTML tags are displayed as a part of object name
This commit is contained in:
1 parent
d4fc9f6bd0
commit
f280ebb000
2 files changed
+2
-1
No files matched your search
@@ -46,6 +46,7 @@ Bugs fixed
|
||||
* #10031: py domain: Fix spurious whitespace in unparsing various operators (``+``,
|
||||
``-``, ``~``, and ``**``). Patch by Adam Turner.
|
||||
* #10460: logging: Always show node source locations as absolute paths.
|
||||
* HTML Search: HTML tags are displayed as a part of object name
|
||||
* #10520: HTML Theme: Fix use of sidebar classes in ``agogo.css_t``.
|
||||
* #6679: HTML Theme: Fix inclusion of hidden toctrees in the agogo theme.
|
||||
* #10566: HTML Theme: Fix enable_search_shortcuts does not work
|
||||
|
||||
@@ -88,7 +88,7 @@ const _displayItem = (item, highlightTerms, searchTerms) => {
|
||||
linkEl.href = linkUrl + "?" + params.toString() + anchor;
|
||||
linkEl.innerHTML = title;
|
||||
if (descr)
|
||||
listItem.appendChild(document.createElement("span")).innerText =
|
||||
listItem.appendChild(document.createElement("span")).innerHTML =
|
||||
" (" + descr + ")";
|
||||
else if (showSearchSummary)
|
||||
fetch(requestUrl)
|
||||
|
||||
Reference in new issue
Block a user