X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmanipulation.js;h=2dccc759255574810ac6881e4d4c4b25ba6ea079;hb=f95147f465932cb91e1a6aace50c556820ca4074;hp=ed049de7cba1e8339e4789acba8950842c1f1121;hpb=98c7248518f9a2082ccf50240b5ab44bf98d7b5e;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index ed049de..2dccc75 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -5,6 +5,7 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rtagName = /<([\w:]+)/, rtbody = / self-closes a tag + .replace(/=([^="'>\s]+\/)>/g, '="$1">') .replace(rleadingWhitespace, "")], ownerDocument)[0]; } else { return this.cloneNode(true); @@ -226,7 +229,7 @@ jQuery.fn.extend({ null; // See if we can take a shortcut and just use innerHTML - } else if ( typeof value === "string" && !/