diff --git a/templates/_search.ejs b/templates/_search.ejs index 72b1fbc..ebb574d 100644 --- a/templates/_search.ejs +++ b/templates/_search.ejs @@ -10,7 +10,7 @@
<% let search = '' - if (typeof q == 'undefined') { + if (typeof q != 'undefined') { search = htmlEscape(q).replace(/\+/g, ' ') } %>