Remove `type` and `language` attributes of `script` element (#2021)

The `type` attribute is not needed when the content is JavaScript,
and the `language` attribute is deprecated.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
release/v1.13
Kévin Commaille 12 months ago committed by GitHub
parent 1accb9e93f
commit 7867ebb250
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Remove `type` and `language` attributes of `script` element.

@ -7,4 +7,4 @@
*/}} */}}
{{ $toc := resources.Get "js/toc.js" -}} {{ $toc := resources.Get "js/toc.js" -}}
<script defer language="javascript" type="text/javascript" src="{{ $toc.RelPermalink }}"></script> <script defer src="{{ $toc.RelPermalink }}"></script>

Loading…
Cancel
Save