Core Docs | Additional Modules Docs
//would return div as the element with all its children
sb.dom.HTMLToElement('<div id="joe"><p class="test">hey there</p></div>');
//would return all elements grouped under a span because they have no comment parent
sb.dom.HTMLToElement('<p class="test">hey there</p><p class="test2">hey there2</p>');