(function( jQuery ) {
var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
rleadingWhitespace = /^\s+/,
rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
rtagName = /<([\w:]+)/,
rtbody = /
", "" ],
legend: [ 1, "" ],
thead: [ 1, "" ],
tr: [ 2, "" ],
td: [ 3, "" ],
col: [ 2, "" ],
area: [ 1, "" ],
_default: [ 0, "", "" ]
},
safeFragment = (function() {
var nodeNames = (
"abbr article aside audio canvas datalist details figcaption figure footer " +
"header hgroup mark meter nav output progress section summary time video"
).split( " " ),
safeFrag = document.createDocumentFragment();
if ( safeFrag.createElement ) {
while ( nodeNames.length ) {
safeFrag.createElement(
nodeNames.pop()
);
}
}
return safeFrag;
})();
wrapMap.optgroup = wrapMap.option;
wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
wrapMap.th = wrapMap.td;
// IE can't serialize and