diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-09-04 15:56:46 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2016-09-04 15:57:43 +0200 |
| commit | b4b02316173c911f2b12d7c41b9729b28bc9c32c (patch) | |
| tree | a1ae565beb913744ef51634f054687c00439ae70 /searx/templates/default/result_templates/map.html | |
| parent | 7591c8bfe314b82262c49373e7c26fe5c333d671 (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.html | 4 |
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 }}‎ <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 }}‎ <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> |