diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:14:29 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:14:29 +0100 |
commit | a809fd1bbb8a62b6a0f02f43e415f29b9af60f8c (patch) | |
tree | 77fdf13b561494fed1ced9aba7884f1892f77b75 /searx | |
parent | eef05c3ddc0f3e719c4d4c3a5acbcc0351da46a9 (diff) | |
download | searxng-a809fd1bbb8a62b6a0f02f43e415f29b9af60f8c.tar.gz searxng-a809fd1bbb8a62b6a0f02f43e415f29b9af60f8c.zip |
Multiple HTML corrections
Alt on favicon
Width of image should be 400 and not 400px
Correct alt+title on image
No <p> contains <p>
Diffstat (limited to 'searx')
-rw-r--r-- | searx/templates/courgette/result_templates/videos.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/searx/templates/courgette/result_templates/videos.html b/searx/templates/courgette/result_templates/videos.html index 8ceb0b180..c8d1a39b6 100644 --- a/searx/templates/courgette/result_templates/videos.html +++ b/searx/templates/courgette/result_templates/videos.html @@ -1,12 +1,10 @@ <div class="result"> {% if result['favicon'] %} - <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" /> + <img width="14" height="14" class="favicon" src="static/{{theme}}/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}" /> {% endif %} - <p> <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3> {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %} - <a href="{{ result.url }}"><img width="400px" src="{{ result.thumbnail }}" title={{ result.title }} alt=" {{ result.title }}"/></a> + <a href="{{ result.url }}"><img width="400" src="{{ result.thumbnail }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a> <p class="url">{{ result.url }}</p> - </p> </div> |