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

Page results in malformed tree #43

Closed
bimargulies opened this issue Nov 4, 2010 · 2 comments
Closed

Page results in malformed tree #43

bimargulies opened this issue Nov 4, 2010 · 2 comments

Comments

@bimargulies
Copy link

The page I will attach results in a Jsoup tree with two body elements, neither if which is a direct child of the html element.

You will find the page in "git@github.com:bimargulies/Misc.git" under the jsoup-tc directory.

@jhy
Copy link
Owner

jhy commented Nov 15, 2010

Thanks, this is fixed now.

@jhy
Copy link
Owner

jhy commented Nov 15, 2010

Document normalisation now more correctly enforces document structure.

  • ensure only one head and one body element, both under html el
  • allow html/head/noscript/img for some site's analytic pattern

Closed by 85ef3f6

michael-simons pushed a commit to michael-simons/jsoup that referenced this issue Jul 12, 2011
 - ensure only one head and one body element, both under html el
 - allow html/head/noscript/img for some site's analytic pattern

Fixes jhy#43
zazi pushed a commit to dswarm/jsoup that referenced this issue Oct 15, 2015
 - ensure only one head and one body element, both under html el
 - allow html/head/noscript/img for some site's analytic pattern

Fixes jhy#43
This issue was closed.
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

No branches or pull requests

2 participants