Skip to content
New issue

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

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

Already on GitHub? # 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

Comments

@openandclose
Copy link

#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'.

@openandclose
Copy link
Author

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants