From 282c044d64e366d1bcb76d7d4f49c54098c6547f Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Thu, 6 Dec 2012 21:17:27 -0500 Subject: Fix #13013. Move jQuery.buildFragment() to compat plugin. --- src/core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core.js') diff --git a/src/core.js b/src/core.js index 22b56ce5d..d748d0d21 100644 --- a/src/core.js +++ b/src/core.js @@ -493,7 +493,8 @@ jQuery.extend({ return [ context.createElement( parsed[1] ) ]; } - parsed = jQuery.buildFragment( [ data ], context, scripts ); + parsed = context.createDocumentFragment(); + jQuery.clean( [ data ], context, parsed, scripts ); if ( scripts ) { jQuery( scripts ).remove(); } -- cgit v1.2.3