summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-10 18:17:10 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-10 18:17:10 +0100
commit2bb820c2816ca63c13756559993e650a77394ed9 (patch)
treeb4986ea427ab5a2eed4996c5a941306f7fb95d57
parent8708e5fc5630910e5a2e9f5e6683468889313f11 (diff)
downloadsearxng-2bb820c2816ca63c13756559993e650a77394ed9.tar.gz
searxng-2bb820c2816ca63c13756559993e650a77394ed9.zip
Correct alt and title
-rw-r--r--searx/templates/default/result_templates/images.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/default/result_templates/images.html b/searx/templates/default/result_templates/images.html
index bead78c48..4c6d59e01 100644
--- a/searx/templates/default/result_templates/images.html
+++ b/searx/templates/default/result_templates/images.html
@@ -1,6 +1,6 @@
<div class="image_result">
<p>
- <a href="{{ result.img_src }}"><img src="{{ result.img_src }}" title="{{ result.title }}"/></a>
+ <a href="{{ result.img_src }}"><img src="{{ result.img_src }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}" /></a>
<span class="url"><a href="{{ result.url }}" class="small_font">original context</a></span>
</p>
</div>