summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/images.html
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-12-08 23:48:01 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-12-08 23:48:01 +0100
commit44409cb61f5677981feac10c344ea07fe20f718f (patch)
treed739241a041a8ce9989debc1b619889e2d584d81 /searx/templates/oscar/result_templates/images.html
parent70981f8055ae636e577fa675e2c7d62af7103c09 (diff)
parent25c743f2afbf083d4ed715c7dc3f10d459b5205d (diff)
Merge pull request #141 from Cqoicebordel/UX+Bugs+HTML
UX+bugs+html
Diffstat (limited to 'searx/templates/oscar/result_templates/images.html')
-rw-r--r--searx/templates/oscar/result_templates/images.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/result_templates/images.html b/searx/templates/oscar/result_templates/images.html
index 91838cba0..7689f9f58 100644
--- a/searx/templates/oscar/result_templates/images.html
+++ b/searx/templates/oscar/result_templates/images.html
@@ -1,5 +1,5 @@
<a href="{{ result.img_src }}" data-toggle="modal" data-target="#modal-{{ index }}">
- <img src="{{ result.img_src }}" alt="{{ result.title|e }}" class="img-thumbnail">
+ <img src="{{ result.img_src }}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" class="img-thumbnail">
</a>
<div class="modal fade" id="modal-{{ index }}" tabindex="-1" role="dialog" aria-hidden="true">
@@ -7,7 +7,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
- <h4 class="modal-title">{% if result['favicon'] %}<img width="32" height="32" class="favicon" src="static/{{ theme }}/img/icons/{{ result['favicon'] }}.png" /> {% endif %}{{ result.title|striptags }}</h4>
+ <h4 class="modal-title">{% if result['favicon'] %}<img width="32" height="32" class="favicon" src="static/{{ theme }}/img/icons/{{ result['favicon'] }}.png" alt="{{ result['favicon'] }}" /> {% endif %}{{ result.title|striptags }}</h4>
</div>
<div class="modal-body">
<img class="img-responsive center-block" src="{{ result.img_src }}" alt="{{ result.title }}">