X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=inline;f=src%2Fmanipulation.js;h=529280a62ab1644576c88322f26ff99eb6341406;hb=8c8f685a911c811e9b998958dd453a6a2b9d5940;hp=8c188c2d565e83f853450f5ade778a6e20fa9ca2;hpb=0b3165fd23ba4d240dd72f93d315bb5f7bf970e8;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 8c188c2..529280a 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); @@ -192,7 +229,7 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/