Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit d663f30

Browse files
committed
Use .text() to insert the search string
1 parent 949e65d commit d663f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/shared/js/documentation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ $(function() {
238238

239239
// Check if there are any results. If not, show placeholder and exit
240240
if (searchHits.length < 1) {
241-
$('<li class="placeholder">No results for <em>' + searchString + '</em></li>').appendTo("#search-results");
241+
$('<li class="placeholder">No results for <em></em></li>').appendTo("#search-results").find("em").text(searchString);
242242
return;
243243
}
244244

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy