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

Method unwrap

src/main/java/org/jsoup/select/Elements.java:357–362  ·  view source on GitHub ↗

Removes the matched elements from the DOM, and moves their children up into their parents. This has the effect of dropping the elements but keeping their children. This is useful for e.g removing unwanted formatting elements but keeping their contents. E.g. with HTML: {@code One

()

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