html5ever
html5ever copied to clipboard
High-performance browser-grade HTML5 parser
Hello, I am looking at ways to build an HTML5 sanitizer capable of running in both Browser, NodeJS and Java environments, Java being the lowest priority at the moment. The...
It will panic if you don't return `Continue` and the callee has no way of knowing if they are being called from a "normal" code path where you are allowed...
Is there a possibility that we have LibXML2 bindings for html5ever similar to how gumbo has it? https://github.com/sevenval/gumbo-libxml I have a program that is written on top of LibXML2, however,...
The implementation in https://github.com/servo/html5ever/blob/master/xml5ever/src/serialize/mod.rs is fairly simplistic, and does not reflect the complexity described by https://w3c.github.io/DOM-Parsing/#dfn-xml-serialization.
Using `html5ever` in async code is painful, because of `Cell` in `StrTendril`. As far as I can tell, that choice is for performance reasons ([the documentation](https://doc.servo.org/tendril/struct.Tendril.html "We plan to relax...
Re: https://github.com/servo/html5ever/pull/475 1. Make sure your `rustc` version is `1.61.0` or greater ```bash rustup update rustup override unset rustup default stable rustc --version ``` 2. Create a new project ```bash...
See #476 If you use `"*"` for the dependency version, cargo cannot resolve the versions correctly: ```toml [dependencies] html5ever = "*" markup5ever_rcdom = "*" ``` Fix: use exact dependencies ```toml...
Since I deleted the xml5ever repostiory, I've decided to move this issue here. This was a feature @nox asked, and it seems that it's a pain point in servo as...
#409 contains this code: ``` // If this is not the only strong reference, don't drop any children, because // apparently somebody else wants them. Just let our reference drop...
This is the second issue I open asking for support about html5ever (the other one was in kuchiki) (is there a better place to get support?). When are methods like...