The tokenizer now uses the EntityDecoder from the entities module fb55/htmlparser2#1480
Parsing of entities in attributes is now aligned with the HTML spec, and some inputs will produce different results. Eg. in <a href='&=boo'> the attribute value won't be modified any more.
The ontextentity tokenizer callback now has an endIndex argument; if you use the tokenizer directly, make sure indices are still the same.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps htmlparser2 from 6.1.0 to 9.1.0.
Release notes
Sourced from htmlparser2's releases.
... (truncated)
Commits
e2939a6
9.1.0a0f4f4b
feat(Parser): exports Handler interface from Parser (#1690)59b3538
build(deps-dev): Bump prettier from 3.0.3 to 3.1.1 (#1711)7dade15
build(deps): Bump github/codeql-action from 2 to 3 (#1715)11ceb64
build(deps-dev): Bump@typescript-eslint/eslint-plugin
(#1731)cd32e60
build(deps-dev): Bump eslint-plugin-n from 16.6.0 to 16.6.1 (#1730)8b902d5
build(deps-dev): Bump@typescript-eslint/parser
from 6.16.0 to 6.17.0 (#1729)bf4a220
build(deps-dev): Bump@types/node
from 20.10.5 to 20.10.6 (#1727)bfb2a23
build(deps-dev): Bump eslint-plugin-n from 16.5.0 to 16.6.0 (#1726)3c5a72b
build(deps-dev): Bump@typescript-eslint/parser
from 6.15.0 to 6.16.0 (#1725)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show