From 42db73348a1eb544fe0d9e2c73a7b87ecc5d06ec Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 9 Jun 2021 17:33:41 +0200 Subject: [PATCH] [fix] make simple/result_templates/map.html more CSP compliant [1] [1] https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser --- searx/static/themes/simple/less/style.less | 4 ++++ searx/templates/simple/result_templates/map.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/searx/static/themes/simple/less/style.less b/searx/static/themes/simple/less/style.less index baaeb042..64f5e6a1 100644 --- a/searx/static/themes/simple/less/style.less +++ b/searx/static/themes/simple/less/style.less @@ -327,6 +327,10 @@ article.result-images[data-vim-selected]::before { } } +.hidden { + display: none !important; +} + .torrent_result { border-left: 10px solid @color-result-torrent-border; padding-left: 3px; diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html index bb62d844..8b08bda6 100644 --- a/searx/templates/simple/result_templates/map.html +++ b/searx/templates/simple/result_templates/map.html @@ -11,7 +11,7 @@ {{ result.address_label or _('address') }} {%- if result.address.name -%} - {{ result.address.name }} + {%- endif -%} {% if result.address.road -%}