[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [qemu-web PATCH 2/2] Add "alt" attributes to the img tags
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [qemu-web PATCH 2/2] Add "alt" attributes to the img tags |
Date: |
Tue, 7 Feb 2017 11:23:42 +0100 |
The "alt" attribute is mandatory for the img tags according to
the HTML standard, so we need this to get valid HTML.
Signed-off-by: Thomas Huth <address@hidden>
---
_includes/screenshot.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_includes/screenshot.html b/_includes/screenshot.html
index 3f85791..70b0d11 100644
--- a/_includes/screenshot.html
+++ b/_includes/screenshot.html
@@ -5,5 +5,5 @@
else %}{{screenshot.description}}{%endif %}{%
if screenshot.author %} {{screenshot.author | markdownify | remove: '<p>' |
remove: '</p>' | strip_newlines | escape}} {% endif %}{%
if screenshot.source %} (<a
href="{{screenshot.source}}">Source</a>){%endif %}"><img
- src="screenshots/{{screenshot.file}}"/></a>
+ src="screenshots/{{screenshot.file}}" alt="Screenshot:
{{screenshot.description}}"/></a>
{% endfor %}
--
1.8.3.1