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.
1 parent 5b638c1 commit 4ca7a11Copy full SHA for 4ca7a11
src/librustdoc/html/static/search.js
@@ -1024,7 +1024,7 @@ window.initSearch = function(rawSearchIndex) {
1024
var description = document.createElement("div");
1025
description.className = "desc";
1026
var spanDesc = document.createElement("span");
1027
- spanDesc.innerText = item.desc + "\u00A0";
+ spanDesc.insertAdjacentHTML("beforeend", item.desc);
1028
1029
description.appendChild(spanDesc);
1030
wrapper.appendChild(description);
0 commit comments