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

Missing properties on cheerio objects. #36

Closed
ironchefpython opened this issue Feb 7, 2012 · 2 comments
Closed

Missing properties on cheerio objects. #36

ironchefpython opened this issue Feb 7, 2012 · 2 comments

Comments

@ironchefpython
Copy link

Under some circumstances when cheerio objects are generated from html, parent/child relationships aren't created.

I've created the following test case that fails by returning null.

$("<div></div>").append("<div><div></div></div>").children().children().parent();
@matthewmueller
Copy link
Member

Thanks @ironchefpython . I'll take a look at it.

@matthewmueller
Copy link
Member

Great catch, this turned out to be a big one. Thanks!

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