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/videos.html | |
parent | 7591c8bfe314b82262c49373e7c26fe5c333d671 (diff) | |
download | searxng-b4b02316173c911f2b12d7c41b9729b28bc9c32c.tar.gz searxng-b4b02316173c911f2b12d7c41b9729b28bc9c32c.zip |
[fix] links in new tabs without js ++ noopener bug fix - closes #674
Diffstat (limited to 'searx/templates/default/result_templates/videos.html')
-rw-r--r-- | searx/templates/default/result_templates/videos.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/default/result_templates/videos.html b/searx/templates/default/result_templates/videos.html index 5a377b70f..727f44c71 100644 --- a/searx/templates/default/result_templates/videos.html +++ b/searx/templates/default/result_templates/videos.html @@ -1,6 +1,6 @@ <div class="result"> - <h3 class="result_title">{% if "icon_"~result.engine~".ico" in favicons %}<img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />{% endif %}<a href="{{ result.url }}" rel="noreferrer">{{ result.title|safe }}</a></h3> + <h3 class="result_title">{% if "icon_"~result.engine~".ico" in favicons %}<img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" />{% endif %}<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><br />{% endif %} - <a href="{{ result.url }}" rel="noreferrer"><img class="thumbnail" src="{{ image_proxify(result.thumbnail) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a> + <a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}><img class="thumbnail" src="{{ image_proxify(result.thumbnail) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a> <p class="url">{{ result.url }}‎</p> </div> |