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/oscar/infobox.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/oscar/infobox.html')
-rw-r--r-- | searx/templates/oscar/infobox.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html index 70d12f2fb..c98fb0e63 100644 --- a/searx/templates/oscar/infobox.html +++ b/searx/templates/oscar/infobox.html @@ -1,3 +1,4 @@ +{% from 'oscar/macros.html' import result_link with context %} <div class="panel panel-default infobox"> <div class="panel-heading"> <h4 class="panel-title infobox_part"><bdi>{{ infobox.infobox }}</bdi></h4> @@ -25,7 +26,7 @@ <div class="infobox_part"> <bdi> {% for url in infobox.urls %} - <p class="btn btn-default btn-xs"><a href="{{ url.url }}" rel="noreferrer">{{ url.title }}</a></p> + <p class="btn btn-default btn-xs">{{ result_link(url.url, url.title) }}</a></p> {% endfor %} </bdi> </div> |