Skip to content

Update html-sanitizer requirement from ~=2.5.0 to ~=2.6.0#51

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/html-sanitizer-approx-eq-2.6.0
Open

Update html-sanitizer requirement from ~=2.5.0 to ~=2.6.0#51
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/html-sanitizer-approx-eq-2.6.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 7, 2025

Updates the requirements on html-sanitizer to permit the latest version.

Changelog

Sourced from html-sanitizer's changelog.

========== Change log

Next version

2.6 (2025-06-30)

  • Fixed crashes when feeding control characters into the sanitizer.
  • Fixed a problem with an overly specific test.

2.5 (2024-12-19)

  • Vulnerability: Fixed an issue where normalizing unicode too late in the process would keep disallowed tags when using specially crafted HTML. Fixed in 2.4.2.
  • Fixed missing whitespace while merging adjacent tags.
  • Raised the minimum lxml-html-clean version to 0.4 because of a reported vulnerability. We were already compatible, but enforcing the lower bound makes sense.

2.4 (2024-04-01)

  • Fixed an edge case where br tag attributes weren't removed if the br tag appears first.
  • Updated the lxml dependency to 5.2 and added the now-required lxml[html_clean] extra.

2.3 (2024-02-07)

  • Avoided adding whitespace when merging tags of the same type.
  • Updated the tests.
  • Switched from black to the ruff formatter.

2.2 (2023-07-03)

  • Changed keep_normalized_whitespace to preserve whitespace at the tail of tags, not just between tags.
  • Changed the parameters of normalize_whitespace_in_text_or_tail to be

... (truncated)

Commits

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 <dependency name> 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.

Updates the requirements on [html-sanitizer](https://github.com/matthiask/html-sanitizer) to permit the latest version.
- [Changelog](https://github.com/matthiask/html-sanitizer/blob/main/CHANGELOG.rst)
- [Commits](matthiask/html-sanitizer@2.5...2.6)

---
updated-dependencies:
- dependency-name: html-sanitizer
  dependency-version: 2.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants