]> source.dussan.org Git - jquery.git/commitdiff
Remove needless expression
authorOleg <markelog@gmail.com>
Thu, 20 Dec 2012 00:06:44 +0000 (04:06 +0400)
committerOleg <markelog@gmail.com>
Sun, 23 Dec 2012 23:04:19 +0000 (03:04 +0400)
src/manipulation.js

index c8d673d560658cc42b9b91dfb0386a419c947b60..7bccca90171a6edbdbff7f50ea26327a58c4b439 100644 (file)
@@ -443,7 +443,7 @@ jQuery.extend({
                                        // Deserialize a standard representation
                                        tag = ( rtagName.exec( elem ) || ["", ""] )[ 1 ].toLowerCase();
                                        wrap = wrapMap[ tag ] || wrapMap._default;
-                                       tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1></$2>" ) + ( wrap[ 2 ] || "" );
+                                       tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1></$2>" );
 
                                        // Descend through wrappers to the right content
                                        j = wrap[0];