Merge pull request #113 from kevin-buttercoin/master

fixed XSS vuln in searchbox
This commit is contained in:
Robert Lord 2014-10-09 19:05:30 -05:00
commit ed5fa1b75c

View file

@ -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();