From aaace1fe9dd8c9ed49aa481a7737bfbdb25d16cd Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Sat, 26 Aug 2023 22:11:27 -0500 Subject: [PATCH] Remove deprecated charset attributes Via [MDN][]: > If present, [the attribute's] value must be an ASCII case-insensitive > match for "utf-8". It's unnecessary to specify the charset attribute, > because documents must use UTF-8, and the script element inherits its > character encoding from the document. [MDN]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#deprecated_attributes --- lib/rdoc/generator/template/rails/_head.rhtml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/rdoc/generator/template/rails/_head.rhtml b/lib/rdoc/generator/template/rails/_head.rhtml index 7ec625eb..cc3be53f 100644 --- a/lib/rdoc/generator/template/rails/_head.rhtml +++ b/lib/rdoc/generator/template/rails/_head.rhtml @@ -4,13 +4,13 @@ - - - - - - - + + + + + + + <% if canonical = canonical_url(context) %>