tl
tl copied to clipboard
Fast, zero-copy HTML Parser written in Rust
If we have the query selector `div > .hello.world > span`, the current query selector parser produces the following result: ``` Parent( Tag([div]), And( Class([hello]), Parent( Class([world]), Tag([span]) ) )...
I'm pretty new to this so I might be misunderstanding how the query selector works. I have the following HTML code: ```html
As I noticed while working on #52 the method `read_ident()` in `base.rs` returns different results on the underlying string "Frameset//EN", depending on whether SIMD is used or not. In stable...
Before it always hard-coded HTML 5 as version as long as 'html' was given in the '
I would be great if `tl` users where able to modify Nodes. My use case is a [webdownloader](https://github.com/Skallwar/suckit), and thus I need to change the target href for images for...
Currently tl implements its own "smallvec" kind of type that can store up to N elements on the stack and move it to the heap if the max stack capacity...
I think the examples in the docs are too long and noisy.
Given HTML like this: ```html Rust <3 ``` There is currently no way of decoding the inner text content of the div to end up with `Rust
Does this parser attempt to follow the [spec that browsers follow](html.spec.whatwg.org/)? Rust crates that follow WHATWG (I think this list is complete): * lol-html * html5ever * html5gum In its...
It would be nice if the parser was generic over a "sink" that gives users the ability to have a function called when a tag is visited (streaming parser). The...