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

Method clean

src/main/java/org/jsoup/Jsoup.java:197–202  ·  view source on GitHub ↗

Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a white-list of permitted tags and attributes. @param bodyHtml input untrusted HTML (body fragment) @param baseUri URL to resolve relative URLs against @param whitelist white-list of permi

(String bodyHtml, String baseUri, Whitelist whitelist)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

simpleBehaviourTestMethod · 0.95
simpleBehaviourTest2Method · 0.95
basicBehaviourTestMethod · 0.95
basicWithImagesTestMethod · 0.95
testRelaxedMethod · 0.95
testDropCommentsMethod · 0.95
testDropXmlProcMethod · 0.95
testDropScriptMethod · 0.95
testDropImageScriptMethod · 0.95
testDropsUnknownTagsMethod · 0.95

Calls 5

parseBodyFragmentMethod · 0.95
cleanMethod · 0.95
bodyMethod · 0.95
outputSettingsMethod · 0.95
htmlMethod · 0.45

Tested by 15

simpleBehaviourTestMethod · 0.76
simpleBehaviourTest2Method · 0.76
basicBehaviourTestMethod · 0.76
basicWithImagesTestMethod · 0.76
testRelaxedMethod · 0.76
testDropCommentsMethod · 0.76
testDropXmlProcMethod · 0.76
testDropScriptMethod · 0.76
testDropImageScriptMethod · 0.76
testDropsUnknownTagsMethod · 0.76