X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmanipulation.js;h=cb898cc3ca109b16b60d48f63424cf1cff610d53;hb=266facc08a2e1c8cb5a7a60de304da47657f2227;hp=30ba5abf5ae3008515c538ecd7d4c0935369d07d;hpb=9d8d74569c8114f9c9b0f42bca71536e154c5944;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 30ba5ab..cb898cc 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,51 +1,69 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rleadingWhitespace = /^\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, "