X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmanipulation.js;h=d5523dd79c6f9c92ca7854b9fff3efea104e2a6a;hb=3a4bcf8a9ca6d3a986858d2572b356176ae06012;hp=f577cf83772928522e2c42e70ccff2114d788207;hpb=f57d93bf18a2d5c3b7a0b50da67cf6147aa389c3;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index f577cf8..d5523dd 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,34 +1,48 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rleadingWhitespace = /^\s+/, - rsingleTag = /^<(\w+)\s*\/?>$/, - rxhtmlTag = /(<(\w+)[^>]*?)\/>/g, + rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g, rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i, - rinsideTable = /^<(thead|tbody|tfoot|colg|cap)/, + rtagName = /<([\w:]+)/, rtbody = /
" + tag + ">"; - }); + }, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "" ], + thead: [ 1, "