Closed tobstarr closed 6 months ago
@tobstarr Thanks for opening this issue! We have been using html5ever
in a project for a while, but were not aware of HTML comments not being supported until seeing this issue.
I hope this can be fixed and I am willing to help out, but my Rust knowledge is very limited, so I will need some guidance in order to be able to do something.
Hey there! Sorry for the delay. It is fixed and I shall release a new version soon.
I wonder if there is an easy way to extract comments embedded inside an HTML document.
I tried using html5ever with Floki and using the default parser comments are present in the parsed document as
but when I switch the parser to html5ever they are just stripped. This can also be verified running:
that results in this output: