role="" is invalid

Removing class="" because it does not add a whole lot
Removing role="" because it is invalid HTML (cannot be empty) and generates HTML-errors in validators.
This commit is contained in:
Marco Davids 2018-01-24 15:29:57 +01:00 committed by GitHub
parent 5dbc270f9b
commit 42dbe096d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@
<h3>{{ if not $disableShortcutsTitle}}{{ T "Shortcuts-Title"}}{{ end }}</h3>
<ul>
{{ range sort . "Weight"}}
<li class="" role="">
<li>
{{.Pre}}<a class="padding" href="{{.URL | absLangURL }}">{{safeHTML .Name}}</a>{{.Post}}
</li>
{{end}}