MCPcopy Create free account
hub / github.com/code4craft/jsoup-learning / Cleaner

Class Cleaner

src/main/java/org/jsoup/safety/Cleaner.java:23–148  ·  view source on GitHub ↗

The whitelist based HTML cleaner. Use to ensure that end-user provided HTML contains only the elements and attributes that you are expecting; no junk, and no cross-site scripting attacks! The HTML cleaner parses the input as HTML and then runs it through a white-list, so the output HTML can

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected