Fix integration of codeblocks in search result description
This commit is contained in:
parent
5b638c1d37
commit
4ca7a1119e
@ -1024,7 +1024,7 @@ window.initSearch = function(rawSearchIndex) {
|
||||
var description = document.createElement("div");
|
||||
description.className = "desc";
|
||||
var spanDesc = document.createElement("span");
|
||||
spanDesc.innerText = item.desc + "\u00A0";
|
||||
spanDesc.insertAdjacentHTML("beforeend", item.desc);
|
||||
|
||||
description.appendChild(spanDesc);
|
||||
wrapper.appendChild(description);
|
||||
|
Loading…
x
Reference in New Issue
Block a user