html5ever icon indicating copy to clipboard operation
html5ever copied to clipboard

High-performance browser-grade HTML5 parser

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

when label closed, I wanna do something, Is there anyway to implement it? For example: ``` html // when encounter I want to add a line break for the text...

Hi! I was interested in optimizing the library's performance even further (the library already is pretty fast). I evaluated Profile-Guided Optimization (PGO) on many projects - all the results are...

```xml ... ... ``` ```xml ``` _Originally posted by @noahbald in https://github.com/servo/html5ever/issues/538#issuecomment-2506784772_

Compiling this package got error like below: ``` error[E0464]: multiple candidates for `dylib` dependency `match_token` found --> index.crates.io-1949cf8c6b5b557f/html5ever-0.30.0/src/tree_builder/rules.rs:26:5 | 26 | use match_token::match_token; | ^^^^^^^^^^^ | = note: candidate #1:...

I want to use parse_document to create dom/vdom patches but the `parse_document(...)` keeps adding `` and ``. I wonder, is there an option to fine-tune the error correction level? I...

Fixes #569 This is @jdm's `xmlns-attrs` branch posted in #569, plus an update to `xml5lib-tests` by @Ygg01 (https://github.com/servo/html5ever/issues/569#issuecomment-2661417199)

When determining the initial tokenizer state during fragment parsing for a `noscript` element we should use the scripting flag of the `noscript` element, not that of the fragment parser. Scripting...

I am trying to figure out how to use this parser, and as far as I can tell, the only "getting started" documentation you provide is the `html2html` example. `html2html`...

Neither the proposal nor the test changes are merged yet. https://github.com/html5lib/html5lib-tests/pull/178 https://github.com/whatwg/html/pull/10557