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