code: public final void unwrap(final Element root, final String selector) {
          final Iterable<Element> elements; // Elements to unwrap
  
          checkNotNull(root, "Received a null pointer as root element");
          checkNotNull(selector, "Received a null pointer as selector");
  
          // Selects and iterates over the elements
          elements = root.select(selector);
          for (final Element element : elements) {
              element.unwrap();
          }
      }
docs: Finds a set of elements through a CSS selector and unwraps them.
  <p>
  This allows removing elements without losing their contents.
  
  @param root
  root element for the selection
  @param selector
  CSS selector for the elements to unwrap