From 31c7d7fb7530e1af950b41d13dd956820d5c6908 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Tue, 9 Dec 2014 16:37:30 -0500 Subject: [PATCH] Core: pass empty string to createHTMLDocument to appease IE --- src/core/parseHTML.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/parseHTML.js b/src/core/parseHTML.js index f4448b7b1..c501cdfc9 100644 --- a/src/core/parseHTML.js +++ b/src/core/parseHTML.js @@ -19,7 +19,7 @@ jQuery.parseHTML = function( data, context, keepScripts ) { } // document.implementation stops scripts or inline event handlers from // being executed immediately - context = context || document.implementation.createHTMLDocument(); + context = context || document.implementation.createHTMLDocument( "" ); var parsed = rsingleTag.exec( data ), scripts = !keepScripts && [];