An img element must have an alt attribute (and a closing tag)
This commit is contained in:
Robin Gareus 2017-07-03 01:47:24 +02:00
parent 073e0b38c5
commit 9a8e4dcc20

View File

@ -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()