diff --git a/entries/unwrap.xml b/entries/unwrap.xml index d3a7b405..ff6d6100 100644 --- a/entries/unwrap.xml +++ b/entries/unwrap.xml @@ -12,7 +12,7 @@ Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. -

The .unwrap() method removes the element's parent. This is effectively the inverse of the .wrap() method. The matched elements (and their siblings, if any) replace their parents within the DOM structure.

+

The .unwrap() method removes the element's parent and returns the unwrapped content. This is effectively the inverse of the .wrap() method. The matched elements (and their siblings, if any) replace their parents within the DOM structure.

Wrap/unwrap a div around each of the paragraphs.