X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=0c2753e968200c98c7b983ebfaf58f649740ded9;hb=f5b649fafbd85a1973a9c46ca6bf163d9de857a7;hp=1fe82fa27ebe86b9addc06cfbc36d72ad0fe8a0a;hpb=77510fec025e654a8d2fdc6b2cbb564c159b3204;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 1fe82fa..0c2753e 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -48,7 +48,7 @@ jQuery.fn.extend({ if ( this[0] ) { // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(); + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); if ( this[0].parentNode ) { wrap.insertBefore( this[0] );