X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=196f2307202eb98c34a820583126de627bcfb082;hb=9e06903a99caf5619d0db858ed3d24f0e6ee15db;hp=dbf86a7b3aff9d30576de8cd1e6888a644e174fb;hpb=7e06b9b70f23dffd9c74047895b53b28af0dafc6;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index dbf86a7..196f230 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,52 +1,69 @@ 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)/, + rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g, + rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, + rtagName = /<([\w:]+)/, rtbody = /
" + tag + ">"; + }, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "" ], + thead: [ 1, "