Visitar URL original
Fix prescan bug: Second and invalid http-equiv · Issue #437 · html5lib/html5lib-python · GitHub
The Wayback Machine - https://web.archive.org/web/20201014222628/https://github.com/html5lib/html5lib-python/issues/437
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

Fix prescan bug: Second and invalid http-equiv #437

Open
openandclose opened this issue Jan 16, 2020 · 1 comment
Open

Fix prescan bug: Second and invalid http-equiv #437

openandclose opened this issue Jan 16, 2020 · 1 comment
Labels

Comments

@openandclose
Copy link

@openandclose openandclose commented Jan 16, 2020

#data
<meta http-equiv="refresh" http-equiv="Content-Type" content="text/html; charset=iso8859-2">
#encoding
None

The spec uses attribute list, to keep track of parsed attribute names,
discarding duplicates.

While html5lib._inputstream.EncodingParser returns: 'iso-8859-2'.

@gsnedders gsnedders added the parser label Feb 26, 2020
@openandclose
Copy link
Author

@openandclose openandclose commented Mar 26, 2020

This is the same bug as:
jsdom/html-encoding-sniffer#8 (fixed)

@gsnedders gsnedders added input-stream and removed parser labels Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.