From 7867ebb25020405ceb1809c54fda2f977ea66f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Tue, 10 Dec 2024 23:57:13 +0100 Subject: [PATCH] Remove `type` and `language` attributes of `script` element (#2021) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `type` attribute is not needed when the content is JavaScript, and the `language` attribute is deprecated. Signed-off-by: Kévin Commaille --- changelogs/internal/newsfragments/2021.clarification | 1 + layouts/partials/hooks/body-end.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/internal/newsfragments/2021.clarification diff --git a/changelogs/internal/newsfragments/2021.clarification b/changelogs/internal/newsfragments/2021.clarification new file mode 100644 index 00000000..af282431 --- /dev/null +++ b/changelogs/internal/newsfragments/2021.clarification @@ -0,0 +1 @@ +Remove `type` and `language` attributes of `script` element. diff --git a/layouts/partials/hooks/body-end.html b/layouts/partials/hooks/body-end.html index 1e7c7d66..75997417 100644 --- a/layouts/partials/hooks/body-end.html +++ b/layouts/partials/hooks/body-end.html @@ -7,4 +7,4 @@ */}} {{ $toc := resources.Get "js/toc.js" -}} - +