X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=4f7ee650495205b9112a703173d1281d331b9b4c;hb=e083d15fc786a853e54b800e3798536f1d958301;hp=1fe82fa27ebe86b9addc06cfbc36d72ad0fe8a0a;hpb=15f9d91c78f672823c807e4f3aa60788a85ed33f;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 1fe82fa..4f7ee65 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -1,7 +1,7 @@ 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, + rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, rtagName = /<([\w:]+)/, rtbody = / or - wrap[1] == "" && !hasBody ? + wrap[1] === "
" && !hasBody ? div.childNodes : [];