summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-06-09 17:33:41 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-09 18:08:23 +0200
commit12af3b39db32c08fc0a2c85440a5070b3c48df0d (patch)
tree2ce1548fe46cd305bdfa3d3ccde7655852743c6c /searx/templates
parentbf10b4a857f6a24e5623d626cb446b6fa23485c2 (diff)
downloadsearxng-12af3b39db32c08fc0a2c85440a5070b3c48df0d.tar.gz
searxng-12af3b39db32c08fc0a2c85440a5070b3c48df0d.zip
[fix] make simple/result_templates/map.html more CSP compliant [1]
[1] https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/result_templates/map.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html
index bb62d8440..8b08bda6e 100644
--- a/searx/templates/simple/result_templates/map.html
+++ b/searx/templates/simple/result_templates/map.html
@@ -11,7 +11,7 @@
<th scope="row">{{ result.address_label or _('address') }}</th>
<td itemscope itemtype="http://schema.org/PostalAddress">
{%- if result.address.name -%}
- <strong itemprop="name" style="display: none">{{ result.address.name }}</strong>
+ <strong itemprop="name" class="hidden">{{ result.address.name }}</strong>
{%- endif -%}
{% if result.address.road -%}
<span itemprop="streetAddress">