summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-10 18:09:21 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-10 18:09:21 +0100
commit18f772615b04343965c7589256219f2117cb1a0f (patch)
tree4c0e509ed3c7438c746e4f3318c49da303b94d43
parent41aca9a068cbaf4e630461b844a152e7f2444548 (diff)
downloadsearxng-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.html6
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 }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;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 %}