Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] autocompleter: suggestions contain HTML escape codes

Bnyroaa059419ff02
diff --git a/searx/webapp.py b/searx/webapp.py
index ff2f496b5..07ef06078 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -851,7 +851,6 @@ def autocompleter():
suggestions = json.dumps([sug_prefix, results, [], [], relevances])
mimetype = 'application/x-suggestions+json'
- suggestions = escape(suggestions, False)
return Response(suggestions, mimetype=mimetype)