From 7061eb91afc575176490b797c4e4e4c26a13f764 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Fri, 8 Dec 2017 21:39:59 +0100 Subject: [fix] use proper encoding with both py2/3 - closes #1094 --- searx/templates/simple/404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/templates/simple/404.html b/searx/templates/simple/404.html index 1843c9892..11d604313 100644 --- a/searx/templates/simple/404.html +++ b/searx/templates/simple/404.html @@ -3,7 +3,7 @@

{{ _('Page not found') }}

{% autoescape false %} -

{{ _('Go to %(search_page)s.', search_page='{}'.decode('utf-8').format(url_for('index'), _('search page'))) }}

+

{{ _('Go to %(search_page)s.', search_page=unicode('{}').format(url_for('index'), _('search page'))) }}

{% endautoescape %}
{% endblock %} -- cgit v1.2.3-54-g00ecf