Improvement: when converting jsoup Documents to W3C Documents in W3CDom, HTML documents will be placed in the
http://www.w3.org/1999/xhtml namespace by default, per the HTML5 spec. This can be controlled by setting
W3CDom#namespaceAware(false).
jhy/jsoup#1848
Improvement: speed optimized the ~ (any preceeding sibling) and :nth-of-type selectors.
jhy/jsoup#1956
Improvement: tweaked the performance of the Element nextElementSibling, previousElementSibling, firstElementSibling,
lastElementSibling, firstElementChild, and lastElementChild. They now inplace filter/skip in the child-node list, vs
having to allocate and scan a complete Element filtered list.
Bugfix: form elements and empty elements (such as img) did not have their attributes de-duplicated.
jhy/jsoup#1950
Change: removed previously deprecated methods Document#normalise, Element#forEach(org.jsoup.helper.Consumer<>),
Node#forEach(org.jsoup.helper.Consumer<>), and the org.jsoup.helper.Consumer interface; the latter being a
previously required compatibility shim prior to Android's de-sugaring support.
Release 1.16.1 [29-Apr-2023]
Improvement: in Jsoup.connect(url), natively support URLs with Unicode characters in the path or query string,
without having to be escaped by the caller.
jhy/jsoup#1914
Improvement: Calling Node.remove() on a node with no parent is now a no-op, vs a validation error.
jhy/jsoup#1898
Bugfix: aligned the HTML Tree Builder processing steps for AfterBody and AfterAfterBody to the updated WHATWG
standard, to not pop the stack to close or elements. This prevents an errant closing preceding
structure. Also added appropriate error message outputs in this case.
jhy/jsoup#1851
Bugfix: Corrected support for ruby elements (, , , and ) to current spec.
jhy/jsoup#1294
Bugfix: When using Node.before(node) or Node.after(node), if the incoming node was a sibling of the context node,
the incoming node may be inserted into the wrong relative location.
jhy/jsoup#1898
Bugfix: In Jsoup.connect(url), if the input URL had components that were already % escaped, they would be escaped
again, causing errors when fetched.
jhy/jsoup#1902
Bugfix: when tracking input source positions, text in tables that was fostered had invalid positions.
jhy/jsoup#1927
Bugfix: If the Document.OutputSettings class was initialized, and then Entities.escape(String) called, an NPE may be
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 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 org.jsoup:jsoup from 1.15.4 to 1.16.1.
Release notes
Sourced from org.jsoup:jsoup's releases.
Changelog
Sourced from org.jsoup:jsoup's changelog.
... (truncated)
Commits
062ebdb
[maven-release-plugin] prepare release jsoup-1.16.18e2b868
Nested inlineable elements should indentd9544a4
Fixed an assertf0ae81b
Check the buffer is fully read if looking for absent content78aeac1
Test for end source range907d09e
Add new tests for CharacterReader (#1931)e92c363
Bump animal-sniffer-maven-plugin from 1.22 to 1.23 (#1924)321be7c
Bump maven-resources-plugin from 3.3.0 to 3.3.1 (#1925)c93ea51
Clone Token.Characters into PendingTableCharactersdea4969
Updated AfterBody and AfterAfterBody to current specYou 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 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)