diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-01-06 09:22:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-06 09:22:02 +0100 |
| commit | aedd6279b3d13778aab5d401ee3b9d4d247365c4 (patch) | |
| tree | c10d95ca4eb907d269df2b6392567d15765f0dec /searx/query.py | |
| parent | 0ebad8220fe574c690d113d7e9d6a85f5ac16616 (diff) | |
| parent | a4c2cfb837a3f92e2c0f0b8a0bac7a6e03499640 (diff) | |
Merge pull request #634 from not-my-profile/powered-by
Introduce `categories_as_tabs` & group engines in tabs
Diffstat (limited to 'searx/query.py')
| -rw-r--r-- | searx/query.py | 2 |
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: |