X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmanipulation.js;h=1fe82fa27ebe86b9addc06cfbc36d72ad0fe8a0a;hb=1d8f7f790d65d5aa1720789964e603382ece26c9;hp=237e957e56fdb552f2b17edde0e9aca82b555310;hpb=6d23f2fd81f9f1894060a353e66effdf9738af16;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 237e957..1fe82fa 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,29 +1,42 @@ 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)/, - rtbody = /
" + tag + ">"; + }, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "" ], + thead: [ 1, "