-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
DOM tree to HTML #32
Comments
@glaucocustodio this functionality does not exist yet. But I'm considering add it. The main problem today is that So, the resultant HTML would be different from the original one. |
I've added this functionality, please check #33. Let me know if it's all ok. |
Closed by #33 Thanks @glaucocustodio! |
@glaucocustodio Version 0.6 released with this new feature. Enjoy! :) |
Great! Thanks. |
Hi guys, if I do
Floki.find(html, "#wrapper")
for instance I very likely will get a lot of sub DOM elements, can't I convert it to HTML? I just sawFloki.text
, but I dont want just text.Something like:
Floki.find(html, "#wrapper") |> Floki.raw_html
Result:
<div id="wrapper">... children DOM here ...</div>
The text was updated successfully, but these errors were encountered: