X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmanipulation.js;h=be12aa12bc81eb0e279926d19e89929c4ca21bb7;hb=1844f95c5b2f92a1b388ff43e20aa4f065a6e57c;hp=59edcbcefdd5f46e3e036377036b894c62c8e50f;hpb=6618ff0b0abe38a0914d8afe0a2b271c977adf6b;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 59edcbc..be12aa1 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); @@ -185,15 +229,17 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/