summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rw-r--r--searx/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/query.py b/searx/query.py
index b7f64fe82..5d2d9de26 100644
--- a/searx/query.py
+++ b/searx/query.py
@@ -222,7 +222,7 @@ class BangParser(QueryPartParser):
# check if query starts with categorie name
for category in categories:
if category.startswith(value):
- self._add_autocomplete(first_char + category)
+ self._add_autocomplete(first_char + category.replace(' ', '_'))
# check if query starts with engine name
for engine in engines: