Permalink
Browse files

Core: pass empty string to createHTMLDocument to appease IE

  • Loading branch information...
timmywil committed Dec 9, 2014
1 parent 5923282 commit 31c7d7fb7530e1af950b41d13dd956820d5c6908
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/parseHTML.js
View
@@ -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 && [];

0 comments on commit 31c7d7f

Please sign in to comment.