html5ever icon indicating copy to clipboard operation
html5ever copied to clipboard

High-performance browser-grade HTML5 parser

Results 49 html5ever issues
Sort by recently updated
recently updated
newest added

I noticed this behaviour in , but it seems to be part of this excellent project. What I see is that [HTML Entities](https://www.w3schools.com/html/html_entities.asp) cause a break split after the next...

This PR is an alternative to #472 and moves the code generation into a [`cargo xtask`](https://github.com/matklad/cargo-xtask). `cargo xtask codegen` runs the code generation tasks for `markup5ever` and `html5ever`.

Currently `xml5ever/README.md` refers in > If you need docs checkout either API docs or run cargo docs to generate documentation. to `https://ygg01.github.io/docs/xml5ever/xml5ever/index.html`, which hosts a very outdated API documentation also,...

Since the generated code only depends on files in the repository anyway, save the separate compilation for the build script and only generate code in a test. Make it fail...

Interested in adding a simple example like this? I figured this out digging through test code and experimenting. I thought others might benefit from an example like this. If you...

`html5ever` (HTML in quirks mode specifically) was crashing on superfluous closing tags (I don't provide a test case, but that was a case). This PR is a WIP (You may...

This is needed for speculative parsing in Servo, where one needs to send the tokenizer state between threads. I created a `Sendable` trait, which is implemented by both the Tokenizer...

This hardens the code against denial of service attacks by only going back a certain number of elements (set at parser construction time) in the list of active formatting elements...

I searched the sources, and found `_line_numer` in a few places, but overall, I had the impression that this info is not available to client code. Am I wrong?

I have an HTML file with markup that can be reduced to the following: ```html