summaryrefslogtreecommitdiff
path: root/searx/templates/courgette/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/courgette/result_templates/map.html
parent7591c8bfe314b82262c49373e7c26fe5c333d671 (diff)
[fix] links in new tabs without js ++ noopener bug fix - closes #674
Diffstat (limited to 'searx/templates/courgette/result_templates/map.html')
-rw-r--r--searx/templates/courgette/result_templates/map.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/courgette/result_templates/map.html b/searx/templates/courgette/result_templates/map.html
index 585ecf3f5..5f2ead63f 100644
--- a/searx/templates/courgette/result_templates/map.html
+++ b/searx/templates/courgette/result_templates/map.html
@@ -5,7 +5,7 @@
{% endif %}
<div>
- <h3 class="result_title"><a href="{{ result.url }}" rel="noreferrer">{{ result.title|safe }}</a></h3>
+ <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>
{% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span>{% endif %}
<p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
<p class="url">{{ result.pretty_url }}&lrm;</p>