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

.prop('innerHTML') returns undefined #1099

Closed
gajus opened this issue Oct 31, 2017 · 1 comment · Fixed by #1578
Closed

.prop('innerHTML') returns undefined #1099

gajus opened this issue Oct 31, 2017 · 1 comment · Fixed by #1578

Comments

@gajus
Copy link

gajus commented Oct 31, 2017

require('cheerio').load('<div></div>')('div').prop('innerHTML') === undefined;

It should be synonymous with .html().

@jcrben
Copy link

jcrben commented Mar 29, 2018

outerHTML support was added over at #945

fb55 added a commit that referenced this issue Dec 22, 2020
fb55 added a commit that referenced this issue Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants