code: function(html, doc) {
                  var frag = create(TABLE_OPEN + html + TABLE_CLOSE, doc),
                      tb = frag.children.tags('tbody')[0];
  
                  if (frag.children.length > 1 && tb && !re_tbody.test(html)) {
                      tb[PARENT_NODE].removeChild(tb); // strip extraneous tbody
                  }
                  return frag;
              }
docs: TODO: thead/tfoot with nested tbody IE adds TBODY when creating TABLE elements (which may share this impl)