[fix] Internet links disappeared from wikidata side box
Closes: https://github.com/searxng/searxng/issues/4285 Reported and tested by: Popolon Suggested-by: @dalf Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									4ab7984edd
								
							
						
					
					
						commit
						cb861165ca
					
				| @ -641,7 +641,7 @@ class WDURLAttribute(WDAttribute): | |||||||
|             return get_external_url(url_id, value) |             return get_external_url(url_id, value) | ||||||
| 
 | 
 | ||||||
|         if self.url_path_prefix: |         if self.url_path_prefix: | ||||||
|             [account, domain] = value.split('@') |             [account, domain] = value.split('@', 1) | ||||||
|             return f"https://{domain}{self.url_path_prefix}{account}" |             return f"https://{domain}{self.url_path_prefix}{account}" | ||||||
| 
 | 
 | ||||||
|         return value |         return value | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user