X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=a10feae93c4f9b840f82ceecec53b044f01b3110;hb=99e7560808679b5044dbefb2b7124bb019fdbda2;hp=88da6de527ac3eec85b274c1dd636e14e8be598a;hpb=4f2e209b85b56351ed17ac0b5de60db85666209f;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 88da6de..a10feae 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -4,7 +4,8 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, rtagName = /<([\w:]+)/, rtbody = / self-closes a tag + .replace(/=([^="'>\s]+\/)>/g, '="$1">') .replace(rleadingWhitespace, "")], ownerDocument)[0]; } else { return this.cloneNode(true); @@ -226,7 +229,7 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/