Visitar URL original
Fix prescan bug: open end tag and alpha ('</' + alpha) · Issue #436 · html5lib/html5lib-python · GitHub
The Wayback Machine - https://web.archive.org/web/20201014222629/https://github.com/html5lib/html5lib-python/issues/436
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: open end tag and alpha ('</' + alpha) #436

Open
openandclose opened this issue Jan 16, 2020 · 0 comments
Open

Fix prescan bug: open end tag and alpha ('</' + alpha) #436

openandclose opened this issue Jan 16, 2020 · 0 comments
Labels

Comments

@openandclose
Copy link

@openandclose openandclose commented Jan 16, 2020

#data
</xxx<meta charset=iso-8859-2>
#encoding
None

When reading '</x', A prescan parser should jump to space (' ') after 'meta', ignoring '<'.

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

@gsnedders gsnedders added the parser label Feb 26, 2020
@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.