Skip to content

Bump jsoup to 1.23.2 (2.7.x) - #1337

Open
chathuranga-jayanath-99 wants to merge 1 commit into
HubSpot:master-2.7.xfrom
chathuranga-jayanath-99:bump-jsoup-1.23.2-2.7.x
Open

chathuranga-jayanath-99 wants to merge 1 commit into
HubSpot:master-2.7.xfrom
chathuranga-jayanath-99:bump-jsoup-1.23.2-2.7.x

Conversation

@chathuranga-jayanath-99

Copy link
Copy Markdown

Summary

  • Updates the jsoup dependency from 1.15.3 to 1.23.2 on the 2.7.x line.
  • Disables pretty-printing in CloseHtmlFilter so its output stays unchanged: jsoup 1.23.2 pretty-prints block elements differently than 1.15.3 (e.g. it now inserts newlines around a <p> nested in an <h1>), which would otherwise change the closehtml filter's output for existing users.

Test plan

  • mvn test-compile — compiles cleanly against the new jsoup version
  • mvn test -Dtest=CloseHtmlFilterTest — passes after the pretty-print fix
  • mvn test — full suite passes

🤖 Generated with Claude Code

Disable jsoup pretty-printing in CloseHtmlFilter to keep its output
unchanged, since 1.23.2 pretty-prints block elements (e.g. inserts
newlines around a <p> inside an <h1>) differently than 1.15.3 did.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant