diff --git a/doc-src/content/search.haml b/doc-src/content/search.haml index fb7910a3..a95cc410 100644 --- a/doc-src/content/search.haml +++ b/doc-src/content/search.haml @@ -9,8 +9,9 @@ body_id: search :javascript $(function(){ if ($.url.param("q")) { - $('input#q').attr('value', $.url.param("q")); - search($.url.param("q"), displayResults); + var query = $.url.param("q").replace("+"," "); + $('input#q').attr('value', query); + search(query, displayResults); } $('input#q').keyup(function(){ search(this.value, displayResults);