X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=4e7a31ed4120400d22c594323e533864f7bc10fe;hb=da966573c3f3cb083c48cd3ead88e7542937d4df;hp=3db2c3552146803060fd58c43f4473638d19560f;hpb=3e9ef6f5c08e63a90ef2dfd3bdc833994e7a0ac8;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 3db2c35..4e7a31e 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -4,7 +4,9 @@ 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); @@ -178,15 +229,17 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/