-
Notifications
You must be signed in to change notification settings - Fork 143
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
How to convert back to HTML #4
Comments
I'm afraid it's not supported yet. However you could easily implement one by refering to https://github.com/ashi009/node-fast-html-parser/blob/master/index.js#L117. |
It will be so kind if @ashi009 could provide one. I need this too. |
If anyone wants to convert back to string, see node-html-parser |
@taoqf I changed some attributes and...the outterHTML has not changed...any idea why? |
@felipenmoura You mean in node-html-parser? I did not do much about attributes except query. maybe it will be slower after converting to html if attributes changes, so i suggest you use other module, like browser-env |
Hi @taoqf I am trying to use |
Noting that it works fine in a browser, it just fails our Jasmine tests. Any help appreciated! |
Hi, great library, using it quickly parse HTML, is there a utility method that can convert modified tree back to HTML?
The text was updated successfully, but these errors were encountered: