lib/gitdocs/views/search.haml in gitdocs-0.5.0.pre7 vs lib/gitdocs/views/search.haml in gitdocs-0.5.0
- old
+ new
@@ -1,5 +1,5 @@
-- @title = "Matches for #{request.params['q'].inspect}"
+- @title = "Matches for "#{request.params['q']}""
%script{ src: '/js/search.js', type: 'text/javascript', charset: 'utf-8' }
.results{ 'data-query' => request.params['q'] }
- if results.empty?
%h2 No results