Description

WrapAllNode wraps the given node around the first element in the Selection, making all other nodes in the Selection children of the given node. The node is cloned before being inserted into the document.

It returns the original set of elements.

WrapAllNode is referenced in 1 repository

github.com/PuerkitoBio/goquery