Browse Source

HTML Entities + Use the right template

Courgette was using the wrong template. I assume it was a mistake.
Cqoicebordel 10 years ago
parent
commit
18f772615b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      searx/templates/courgette/results.html

+ 3
- 3
searx/templates/courgette/results.html View File

@@ -10,7 +10,7 @@
10 10
 
11 11
         <div id="search_url">
12 12
             {{ _('Search URL') }}:
13
-            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly="" />
13
+            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&amp;pageno={{ pageno }}{% if selected_categories %}&amp;category_{{ selected_categories|join("&category_")|replace(' ','+') }}{% endif %}" readonly />
14 14
         </div>
15 15
         <div id="apis">
16 16
         {{ _('Download results') }}
@@ -43,9 +43,9 @@
43 43
 
44 44
     {% for result in results %}
45 45
         {% if result['template'] %}
46
-            {% include 'default/result_templates/'+result['template'] %}
46
+            {% include 'courgette/result_templates/'+result['template'] %}
47 47
         {% else %}
48
-            {% include 'default/result_templates/default.html' %}
48
+            {% include 'courgette/result_templates/default.html' %}
49 49
         {% endif %}
50 50
     {% endfor %}
51 51