on master help sign in
[fix] make simple/result_templates/map.html more CSP compliant [1]
42db733Markus Heiser
searx/static/themes/simple/less/style.less+4
@@ -327,6 +327,10 @@ article.result-images[data-vim-selected]::before {
327 }
327 }
328}
328}
329
329
330+.hidden {
331+ display: none !important;
332+}
333+
330.torrent_result {
334.torrent_result {
331 border-left: 10px solid @color-result-torrent-border;
335 border-left: 10px solid @color-result-torrent-border;
332 padding-left: 3px;
336 padding-left: 3px;
searx/templates/simple/result_templates/map.html+1−1
@@ -11,7 +11,7 @@
11 <th scope="row">{{ result.address_label or _('address') }}</th>
11 <th scope="row">{{ result.address_label or _('address') }}</th>
12 <td itemscope itemtype="http://schema.org/PostalAddress">
12 <td itemscope itemtype="http://schema.org/PostalAddress">
13 {%- if result.address.name -%}
13 {%- if result.address.name -%}
14− <strong itemprop="name" style="display: none">{{ result.address.name }}</strong>
14+ <strong itemprop="name" class="hidden">{{ result.address.name }}</strong>
15 {%- endif -%}
15 {%- endif -%}
16 {% if result.address.road -%}
16 {% if result.address.road -%}
17 <span itemprop="streetAddress">
17 <span itemprop="streetAddress">