X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=233cb826360af47068da204db86673d2d42d043a;hb=89b4bc53ca0ca3d4e5c80b94ce92b09cc34af8ef;hp=62009be20d5150efc8d0d95bcdd4aa5d28792b01;hpb=8db967e9d52407c8e76d81b9d472800667f6fa29;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 62009be..233cb82 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -140,7 +140,7 @@ jQuery.fn.extend({ var fragment, scripts, cacheable, cached, cacheresults, first; if ( this[0] ) { - if ( args.length === 1 && typeof args[0] === "string" ) { + if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 && args[0].indexOf("