We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
console.log(cheerio.load('<html><body><li><ul>item1<ul>item2<ul>item3').html());
shows
<html><body><li><ul>item1<ul>item2<ul>item3</ul></ul></ul></li></body></html>
should be
<html><body><li><ul>item1</ul><ul>item2</ul><ul>item3</ul></li></body></html>
The text was updated successfully, but these errors were encountered:
Also,
console.log(cheerio.load('<p>some<p>text</p>here</p>').html());
prints
<p>some</p><p>text</p>here<p></p>
instead of
<p>some<p>text</p>here</p>
no unclosed tags here
I realize that it doesn't make sense to have a paragraph inside a paragraph, but it's still a perfectly valid xml structure.
Sorry, something went wrong.
This is in line with the HTML spec.
Successfully merging a pull request may close this issue.
shows
should be
The text was updated successfully, but these errors were encountered: