X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmanipulation.js;h=23463d16e22e3dd900b3a9860fd2e0c73060e188;hb=323270f6dcc4fdbef0e6d81f5e37b315fbffc599;hp=1b8066f00fdee1d755def0b84325c5039a310ee4;hpb=7a67f8897d3c2ed97254f0fdb969be14e77962d1;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 1b8066f..23463d1 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,52 +1,67 @@ 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, "