diff --git a/src/manipulation.js b/src/manipulation.js index c8d673d56..7bccca901 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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>" ) + ( wrap[ 2 ] || "" ); + tmp.innerHTML = wrap[ 1 ] + elem.replace( rxhtmlTag, "<$1>" ); // Descend through wrappers to the right content j = wrap[0];