Commit ed5fa1b7 authored by Robert Lord's avatar Robert Lord

Merge pull request #113 from kevin-buttercoin/master

fixed XSS vuln in searchbox
parents 9c7ea333 b1256f48
......@@ -53,7 +53,8 @@
});
highlight.call(this);
} else {
searchResults.html('<li>No Results Found for "' + this.value + '"</li>');
searchResults.html('<li></li>');
$('.search-results li').text('No Results Found for "' + this.value + '"');
}
} else {
unhighlight();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment