]> Shamusworld >> Repos - ardour-manual/commitdiff
Fix HTML
authorRobin Gareus <robin@gareus.org>
Sun, 2 Jul 2017 23:47:24 +0000 (01:47 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 2 Jul 2017 23:47:24 +0000 (01:47 +0200)
An img element must have an alt attribute (and a closing tag)

build.py

index 1645b0accaee0e56cd4312356c675d178deba9a5..e427623a98130d4df690275f22b3f3340b6ac87b 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -496,7 +496,7 @@ for header in fileStruct:
        if level > 0:
                if 'include' in header:
                        srcFile = open('include/' + header['include'])
-                       githubedit = '<span style="float:right;"><a title="Edit in GitHub" href="' + githuburl + header['include'] + '"><img src="/images/github.png"></a></span>'
+                       githubedit = '<span style="float:right;"><a title="Edit in GitHub" href="' + githuburl + header['include'] + '"><img src="/images/github.png" alt="Edit on GitHub"/></a></span>'
                        content = srcFile.read()
                        srcFile.close()