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

Getting HTMl back from selected elements #269

Closed
rhclayto opened this issue Aug 1, 2017 · 1 comment
Closed

Getting HTMl back from selected elements #269

rhclayto opened this issue Aug 1, 2017 · 1 comment

Comments

@rhclayto
Copy link

rhclayto commented Aug 1, 2017

With Cheerio, it's possible to call .html() to get the HTML corresponding to the cheerio object it's called on. Is something similar possible with x-ray? It's so much easier to traverse the DOM with x-ray, but I need HTML (in order to auto-convert to Markup with another node module). Perhaps this is in the documentation somewhere, but I can't seem to find it if it is. Any help is welcome.

@lathropd
Copy link
Collaborator

Currently this isn’t implemented, but there is a pending PR to address it.

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