diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:09:21 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:09:21 +0100 |
commit | 18f772615b04343965c7589256219f2117cb1a0f (patch) | |
tree | 4c0e509ed3c7438c746e4f3318c49da303b94d43 | |
parent | 41aca9a068cbaf4e630461b844a152e7f2444548 (diff) | |
download | searxng-18f772615b04343965c7589256219f2117cb1a0f.tar.gz searxng-18f772615b04343965c7589256219f2117cb1a0f.zip |
HTML Entities + Use the right template
Courgette was using the wrong template. I assume it was a mistake.
-rw-r--r-- | searx/templates/courgette/results.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/courgette/results.html b/searx/templates/courgette/results.html index d0b53b48a..62bef8c90 100644 --- a/searx/templates/courgette/results.html +++ b/searx/templates/courgette/results.html @@ -10,7 +10,7 @@ <div id="search_url"> {{ _('Search URL') }}: - <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly="" /> + <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly /> </div> <div id="apis"> {{ _('Download results') }} @@ -43,9 +43,9 @@ {% for result in results %} {% if result['template'] %} - {% include 'default/result_templates/'+result['template'] %} + {% include 'courgette/result_templates/'+result['template'] %} {% else %} - {% include 'default/result_templates/default.html' %} + {% include 'courgette/result_templates/default.html' %} {% endif %} {% endfor %} |