mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[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>
This commit is contained in:
parent
bf10b4a857
commit
12af3b39db
@ -332,6 +332,10 @@ article.result-images[data-vim-selected]::before {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.torrent_result {
|
.torrent_result {
|
||||||
border-left: 10px solid @color-result-torrent-border;
|
border-left: 10px solid @color-result-torrent-border;
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<th scope="row">{{ result.address_label or _('address') }}</th>
|
<th scope="row">{{ result.address_label or _('address') }}</th>
|
||||||
<td itemscope itemtype="http://schema.org/PostalAddress">
|
<td itemscope itemtype="http://schema.org/PostalAddress">
|
||||||
{%- if result.address.name -%}
|
{%- if result.address.name -%}
|
||||||
<strong itemprop="name" style="display: none">{{ result.address.name }}</strong>
|
<strong itemprop="name" class="hidden">{{ result.address.name }}</strong>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% if result.address.road -%}
|
{% if result.address.road -%}
|
||||||
<span itemprop="streetAddress">
|
<span itemprop="streetAddress">
|
||||||
|
Loading…
Reference in New Issue
Block a user