Skip to content

Conversation

@IgorMinar
Copy link

The current version of lol-html is quite out of date and causes crashes when processing emoji/utf8 chars, see: https://github.com/igorminar/htmlrewriter-crash-repro

This PR updates the version of lol-html to the last compatible version before breaking changes were introduced to lol-html. Fortunately this version is good enough to fix the emoji/utf8 issues.

These dependencies are required for the build to work but were
previously missing - likely because they came from the global pnpm
install.
This update fixes crashes when encountering utf8/emoji characters.

8e29e2d is also the last commit before a breaking change was introduced
to lol-html which makes the rust/wasm bindings in src/element.rs
incompatible — fixing this will require more work, so I'm avoiding that
for now.
IgorMinar added a commit to IgorMinar/htmlrewriter-crash-repro that referenced this pull request Feb 9, 2025
@fengmk2
Copy link

fengmk2 commented Feb 11, 2025

LGTM

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.

3 participants