File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1024,7 +1024,7 @@ window.initSearch = function(rawSearchIndex) {
10241024 var description = document . createElement ( "div" ) ;
10251025 description . className = "desc" ;
10261026 var spanDesc = document . createElement ( "span" ) ;
1027- spanDesc . innerText = item . desc + "\u00A0" ;
1027+ spanDesc . insertAdjacentHTML ( "beforeend" , item . desc ) ;
10281028
10291029 description . appendChild ( spanDesc ) ;
10301030 wrapper . appendChild ( description ) ;
Original file line number Diff line number Diff line change 1+ // This test is to ensure that the codeblocks are correctly rendered in the search results.
2+ goto: file://|DOC_PATH|/test_docs/index.html?search=some_more_function
3+ // Waiting for the search results to appear...
4+ wait-for: "#titles"
5+ assert: (".search-results .desc code", "format!")
You can’t perform that action at this time.
0 commit comments