X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=3054eea1d3a259f756cc14e3a255f86dc4346bc2;hb=bca576550249e9b79b1097669dff6d4ddd0d65cf;hp=0051bbc0b343452c931a2cd99abdcb588dbd8167;hpb=0ac9898d6b7200075d20e36d7c31ad77585c8778;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 0051bbc..3054eea 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,47 +1,71 @@ +(function( jQuery ) { + var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rleadingWhitespace = /^\s+/, - rsingleTag = /^<(\w+)\s*\/?>$/, - rxhtmlTag = /(<(\w+)[^>]*?)\/>/g, - rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i, - rinsideTable = /^<(thead|tbody|tfoot|colg|cap)/, - rtbody = /
]*?)\/>/g, + rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, + rtagName = /<([\w:]+)/, + rtbody = /" + tag + ">"; + }, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "" ], + thead: [ 1, "