X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=a58e52b6a8b0b57084d6d9035ae556d650283727;hb=c1ac9fdf45632f0e0d1f7183500ce45dde7319d7;hp=93950de0f2472ba298e6ff401e00c8bf21ffbf7f;hpb=388a00fe918c2ec759bd33c34bfc13aabfe413d0;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 93950de..a58e52b 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" && !/