| Package | Description |
|---|---|
| org.jsoup |
Contains the main
Jsoup class, which provides convenient static access to the jsoup functionality. |
| org.jsoup.safety |
Contains the jsoup HTML cleaner, and safelist definitions.
|
| Class and Description |
|---|
| Safelist
Safe-lists define what HTML (elements and attributes) to allow through the cleaner.
|
| Whitelist
Deprecated.
As of release
v1.14.1, this class is deprecated in favour of Safelist. The name has
been changed with the intent of promoting more inclusive language. Safelist is a drop-in replacement, and no
further changes other than updating the name in your code are required to cleanly migrate. This class will be
removed in v1.15.1. Until that release, this class acts as a shim to maintain code compatibility
(source and binary).
For a clear rationale of the removal of this change, please see Terminology, Power, and Inclusive Language in Internet-Drafts and RFCs |
| Class and Description |
|---|
| Safelist
Safe-lists define what HTML (elements and attributes) to allow through the cleaner.
|
| Whitelist
Deprecated.
As of release
v1.14.1, this class is deprecated in favour of Safelist. The name has
been changed with the intent of promoting more inclusive language. Safelist is a drop-in replacement, and no
further changes other than updating the name in your code are required to cleanly migrate. This class will be
removed in v1.15.1. Until that release, this class acts as a shim to maintain code compatibility
(source and binary).
For a clear rationale of the removal of this change, please see Terminology, Power, and Inclusive Language in Internet-Drafts and RFCs |
Copyright © 2009–2025 Jonathan Hedley. All rights reserved.