Browse Source

don't prefilter hxtml (like in jq 3.5+) - faster

Nicolas Cannasse 3 years ago
parent
commit
cf873932cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/libs/jquery-3.2.1.js

+ 1 - 1
bin/libs/jquery-3.2.1.js

@@ -5819,7 +5819,7 @@ function remove( elem, selector, keepData ) {
 
 
 jQuery.extend( {
 jQuery.extend( {
 	htmlPrefilter: function( html ) {
 	htmlPrefilter: function( html ) {
-		return html.replace( rxhtmlTag, "<$1></$2>" );
+		return html;
 	},
 	},
 
 
 	clone: function( elem, dataAndEvents, deepDataAndEvents ) {
 	clone: function( elem, dataAndEvents, deepDataAndEvents ) {