X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=be12aa12bc81eb0e279926d19e89929c4ca21bb7;hb=f68b46d7abb54cdcd3d1ce1713bc989f992d1448;hp=23463d16e22e3dd900b3a9860fd2e0c73060e188;hpb=6a3d0996edf2f8ba69f62c8c7c3eda07b674d81f;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 23463d1..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,7 +229,7 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/