Skip to content

Handle encoding indicators in the driver module#717

Merged
simonwuelker merged 2 commits intoservo:mainfrom
simonwuelker:driver-fix
Jan 19, 2026
Merged

Handle encoding indicators in the driver module#717
simonwuelker merged 2 commits intoservo:mainfrom
simonwuelker:driver-fix

Conversation

@simonwuelker
Copy link
Copy Markdown
Member

Fixes #716

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Comment thread html5ever/tests/driver.rs
Comment on lines +26 to +32
impl TreeSink for Sink {
type Handle = usize;
type Output = Self;
type ElemName<'a> = ExpandedName<'a>;
fn finish(self) -> Self {
self
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sink implementation is copied from one of the examples

Comment thread html5ever/src/driver.rs Outdated
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
@simonwuelker simonwuelker added this pull request to the merge queue Jan 19, 2026
Merged via the queue into servo:main with commit ca21f6e Jan 19, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The latest version of html5ever (0.37.1) causes a panic facing <meta charset="UTF-8">

2 participants