Fix HTML
An img element must have an alt attribute (and a closing tag)
This commit is contained in:
parent
073e0b38c5
commit
9a8e4dcc20
2
build.py
2
build.py
@ -496,7 +496,7 @@ for header in fileStruct:
|
|||||||
if level > 0:
|
if level > 0:
|
||||||
if 'include' in header:
|
if 'include' in header:
|
||||||
srcFile = open('include/' + header['include'])
|
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()
|
content = srcFile.read()
|
||||||
srcFile.close()
|
srcFile.close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user