Skip to content

Fixed html errors caused by redundant meta[http-equiv] #1925

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

Closed
wants to merge 1 commit into from

Conversation

ulivz
Copy link

@ulivz ulivz commented Nov 13, 2022

Quoting from the HTML specification1 about "Specifying the document's character encoding":

A document must not contain both a meta element with an http-equiv attribute
in the Encoding declaration state and a meta element with the charset
attribute present.

Closes: #1919

Quoting from the HTML specification<sup>[1]</sup> about "Specifying the document's character encoding":

  A document must not contain both a `meta` element with an `http-equiv` attribute
  in the `Encoding declaration state` and a `meta` element with the `charset`
  attribute present.

Closes: rust-lang#1919

[1]: https://html.spec.whatwg.org/dev/semantics.html#charset
@ehuss
Copy link
Contributor

ehuss commented Nov 13, 2022

Thanks! Closing as this is superseded by #1924.

@ehuss ehuss closed this Nov 13, 2022
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.

HTML errors
2 participants