X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=5b53da86199c678144a01683c8c8862ebe0aa5fe;hb=c8be9461eed2cd01fb45ae504f92f80fe72bddde;hp=237e957e56fdb552f2b17edde0e9aca82b555310;hpb=6d23f2fd81f9f1894060a353e66effdf9738af16;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 237e957..5b53da8 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,47 +1,68 @@ +(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 = /
]*)\/>/ig, + rtagName = /<([\w:]+)/, + rtbody = /\s]+\/)>/g, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "" ], + thead: [ 1, "