Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated charset attributes #295

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

jonathanhefner
Copy link
Member

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.

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
@jonathanhefner jonathanhefner merged commit 3c47224 into rails:main Sep 1, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant