summaryrefslogtreecommitdiff
path: root/searx/templates/default/result_templates/map.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-09-04 15:56:46 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-09-04 15:57:43 +0200
commitb4b02316173c911f2b12d7c41b9729b28bc9c32c (patch)
treea1ae565beb913744ef51634f054687c00439ae70 /searx/templates/default/result_templates/map.html
parent7591c8bfe314b82262c49373e7c26fe5c333d671 (diff)
[fix] links in new tabs without js ++ noopener bug fix - closes #674
Diffstat (limited to 'searx/templates/default/result_templates/map.html')
-rw-r--r--searx/templates/default/result_templates/map.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/default/result_templates/map.html b/searx/templates/default/result_templates/map.html
index d413742e7..0200e0f6b 100644
--- a/searx/templates/default/result_templates/map.html
+++ b/searx/templates/default/result_templates/map.html
@@ -5,8 +5,8 @@
{% endif %}
<div>
- <h3 class="result_title"><a href="{{ result.url }}" rel="noreferrer">{{ result.title|safe }}</a></h3>
- <p class="url">{{ result.pretty_url }}&lrm; <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}" rel="noreferrer">{{ _('cached') }}</a>
+ <h3 class="result_title"><a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.title|safe }}</a></h3>
+ <p class="url">{{ result.pretty_url }}&lrm; <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ _('cached') }}</a>
{% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}</p>
<p class="content">{% if result.img_src %}<img src="{{ image_proxify(result.img_src) }}" class="image" />{% endif %}{% if result.content %}{{ result.content|safe }}<br class="last"/>{% endif %}</p>
</div>