diff --git a/searx/templates/results.html b/searx/templates/results.html index c7851461a..105624034 100644 --- a/searx/templates/results.html +++ b/searx/templates/results.html @@ -1,6 +1,9 @@ {% extends "base.html" %} {% block content %} -
{{ result|safe }}
{% endfor %} diff --git a/searx/webapp.py b/searx/webapp.py index 7af697275..c9067972c 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -57,7 +57,7 @@ def index(): ) requests.append(req) grequests.map(requests) - return render_template('results.html', results=results) + return render_template('results.html', results=results, q=query) return render_template('index.html')