X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=237e957e56fdb552f2b17edde0e9aca82b555310;hb=6d23f2fd81f9f1894060a353e66effdf9738af16;hp=c2c0ff2a70bce0fc6fdc2689d59089504ee5d8a8;hpb=7c04a64016c1f295dfdf4e731f693f8400a987bc;p=jquery.git
diff --git a/src/manipulation.js b/src/manipulation.js
index c2c0ff2..237e957 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -1,21 +1,25 @@
-// exclude the following css properties to add px
-var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,
- // cache defaultView
- defaultView = document.defaultView || {};
+var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
+ rleadingWhitespace = /^\s+/,
+ rsingleTag = /^<(\w+)\s*\/?>$/,
+ rxhtmlTag = /(<(\w+)[^>]*?)\/>/g,
+ rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i,
+ rinsideTable = /^<(thead|tbody|tfoot|colg|cap)/,
+ rtbody = /
1 || i > 0 ?
- fragment.cloneNode(true) : fragment );
-
- if ( scripts )
+ if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 && args[0].indexOf("