X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=cb898cc3ca109b16b60d48f63424cf1cff610d53;hb=8effe3a7dee91c833cc1774646da9d743600c64c;hp=9ed22baaf848ba2451fbf59e165828af6e189d8a;hpb=8fa9e9d6d0307a5af8d7478d6e030af5afabba9e;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 9ed22ba..cb898cc 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" && !/