Update Rust crate astral-html to 0.0.4 (#22922)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-html](https://redirect.github.com/astral-sh/astral-html) |
workspace.dependencies | patch | `0.0.3` → `0.0.4` |
---
### Release Notes
<details>
<summary>astral-sh/astral-html (astral-html)</summary>
###
[`v0.0.4`](https://redirect.github.com/astral-sh/astral-html/blob/HEAD/CHANGELOG.md#004)
[Compare
Source](https://redirect.github.com/astral-sh/astral-html/compare/v0.0.3...v0.0.4)
Released on 2026-10-20.
##### Bug fixes
- Select text modes according to SVG and HTML integration context so
well-formed
SVG no longer causes `Reader` or `Document` to consume following HTML as
text
([astral-sh/astral-html#85](https://redirect.github.com/astral-sh/astral-html/pull/85))
- Honor self-closing SVG elements so they no longer remain open and
incorrectly
exhaust `Document`'s depth limit
([astral-sh/astral-html#85](https://redirect.github.com/astral-sh/astral-html/pull/85))
- Preserve CDATA sections as text while parsing SVG content
([astral-sh/astral-html#85](https://redirect.github.com/astral-sh/astral-html/pull/85))
- Close an immediately open HTML `a` or `option` when another start tag
has the
same name, preventing sibling runs from incorrectly hitting `Document`'s
depth
limit
([astral-sh/astral-html#86](https://redirect.github.com/astral-sh/astral-html/pull/86))
##### Performance
- Borrow unchanged comment text during tokenizer recovery, avoiding
allocations
unless newline or NUL normalization is required
([astral-sh/astral-html#75](https://redirect.github.com/astral-sh/astral-html/pull/75))
##### Other changes
- Document where `Reader` and `Document` differ from browser parsing and
warn
against using their output to approve HTML for rendering
([astral-sh/astral-html#78](https://redirect.github.com/astral-sh/astral-html/pull/78))
- Clarify that `Doctype::force_quirks == false` does not by itself
indicate
standards mode
([astral-sh/astral-html#78](https://redirect.github.com/astral-sh/astral-html/pull/78))
- Add README highlights for the crate's runtime dependency, unsafe-code
policy,
and html5lib tokenizer test coverage
([astral-sh/astral-html#77](https://redirect.github.com/astral-sh/astral-html/pull/77))
- Round README benchmark results to match their measurement precision
([astral-sh/astral-html#83](https://redirect.github.com/astral-sh/astral-html/pull/83))
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/uv).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJidWlsZDpza2lwLWRvY2tlciIsImJ1aWxkOnNraXAtcmVsZWFzZSIsImludGVybmFsIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>