From ad528c706efb46b415e460838f4562241a2d10ba Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 5 Sep 2021 16:58:56 +0200 Subject: [fix] make result template map more CSP compliant - simple & oscar Add osm-map-box in:: searx/static/themes/__common__/less/result_templates.less Replaced sty= in files:: ./oscar/result_templates/map.html:64:
./simple/result_templates/map.html:65: Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser --- searx/templates/simple/result_templates/map.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/templates/simple/result_templates/map.html') diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html index 8b08bda6e..dc6a62010 100644 --- a/searx/templates/simple/result_templates/map.html +++ b/searx/templates/simple/result_templates/map.html @@ -45,7 +45,7 @@ {{- result_sub_footer(result, proxify) -}} {% if (result.latitude and result.longitude) or result.boundingbox -%} - + {%- endif %} {{- result_footer(result) }} -- cgit v1.2.3