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

Added utility functions to print the dom as html #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomdz
Copy link

@tomdz tomdz commented Mar 28, 2011

This change adds DomUtils.printHtml and DomUtils.toHtml helper functions that print the passed-in dom tree as html, trying to preserve the original tree as much as possible (if verbose = true).

@vilmibm
Copy link

vilmibm commented Apr 20, 2011

This would be useful. I'd like to modify the parsed DOM and print it back out (instead of inspecting the dom, making decisions, and then regexing the original source).

@incompl
Copy link

incompl commented Jun 27, 2014

I want this. Any chance of this landing? Are there any other projects that provide this?

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

Successfully merging this pull request may close these issues.

3 participants