logo

searx

My custom branche(s) on searx, a meta-search engine
commit: 7061eb91afc575176490b797c4e4e4c26a13f764
parent: 49b845051f027cf9d29a20821968103a0f55c9d9
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Fri,  8 Dec 2017 21:39:59 +0100

[fix] use proper encoding with both py2/3 - closes #1094

Diffstat:

Msearx/templates/simple/404.html2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/templates/simple/404.html b/searx/templates/simple/404.html @@ -3,7 +3,7 @@ <div class="center"> <h1>{{ _('Page not found') }}</h1> {% autoescape false %} - <p>{{ _('Go to %(search_page)s.', search_page='<a href="{}">{}</a>'.decode('utf-8').format(url_for('index'), _('search page'))) }}</p> + <p>{{ _('Go to %(search_page)s.', search_page=unicode('<a href="{}">{}</a>').format(url_for('index'), _('search page'))) }}</p> {% endautoescape %} </div> {% endblock %}