forked from zaclys/searxng
		
	[fix] bang syntax for categories with spaces
This commit is contained in:
		
							parent
							
								
									458b7fb72d
								
							
						
					
					
						commit
						8a0810cedc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Martin Fischer
						Martin Fischer