From 7f30ac37e918279f0030069d251b1bacc0266090 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 29 Jun 2022 20:13:05 +0200 Subject: [PATCH] map.html: display the intended text for the links instead of the URL For example display "Tokyo (en)" instead of https://en.wikipedia.org/wiki/Tokyo --- searx/templates/simple/result_templates/map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html index e1223cbc0..3bdc378d6 100644 --- a/searx/templates/simple/result_templates/map.html +++ b/searx/templates/simple/result_templates/map.html @@ -35,7 +35,7 @@ {{ info.label }}{{ info.value|safe }} {%- endfor -%} {%- for link in result.links -%} - {{ link.label }}{{ link.url|safe }} + {{ link.label }}{{ link.url_label|safe }} {%- endfor -%}