on master help sign in
[fix] use proper encoding with both py2/3 - closes #1094
commit7061eb91afc575176490b797c4e4e4c26a13f764 authorAdam Tauber <asciimoo@gmail.com> dateFri 8 Dec 2017, 21:39 (9 years ago) parent49b8450
1 file changed+1−1
searx/templates/simple/404.html+1−1
searx/templates/simple/404.html+1−1
@@ -3,7 +3,7 @@
33<div class="center">
44 <h1>{{ _('Page not found') }}</h1>
55 {% autoescape false %}
6− <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p>
6+ <p>{{ _('Go to %(search_page)s.', search_page=unicode('<a href="{}">{}</a>').format(url_for('index'), _('search page'))) }}</p>
77 {% endautoescape %}
88</div>
99{% endblock %}