diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-08-09 18:32:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 18:32:54 (GMT) |
commit | 058fb35b57ca8c5063d16ec818e668b3babfea65 (patch) | |
tree | 7c476bb7c59e65a9e8c83ca633068be3f14a1975 /Doc/tools | |
parent | 7d14fdb03c3e8384c01da1b21647ce837ed6a29c (diff) | |
download | cpython-058fb35b57ca8c5063d16ec818e668b3babfea65.zip cpython-058fb35b57ca8c5063d16ec818e668b3babfea65.tar.gz cpython-058fb35b57ca8c5063d16ec818e668b3babfea65.tar.bz2 |
bpo-44854: Remove trailing whitespaces (GH-27689)
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/templates/search.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/templates/search.html b/Doc/tools/templates/search.html index cf20c2e..f2ac2ea 100644 --- a/Doc/tools/templates/search.html +++ b/Doc/tools/templates/search.html @@ -6,7 +6,7 @@ jQuery(function() { $.getJSON("_static/glossary.json", function(glossary) { - var RESULT_TEMPLATE = '<div style="display: none" class="admonition seealso" id="glossary-result">' + + var RESULT_TEMPLATE = '<div style="display: none" class="admonition seealso" id="glossary-result">' + ' <p class="topic-title">' + ' <a class="glossary-title" href="#"></a>' + ' </p>' + @@ -20,7 +20,7 @@ var glossary_item = glossary[search_param]; if (glossary_item) { var resultDiv = $("#glossary-result"); - + // set up the title text with a link to the glossary page resultDiv.find(".glossary-title").text('Glossary: ' + glossary_item.title); var link_target = search_param.replace(/ /g, '-'); |