Skip to content

Commit

Permalink
Core: pass empty string to createHTMLDocument to appease IE
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Dec 9, 2014
1 parent 5923282 commit 31c7d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parseHTML.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 && [];
Expand Down

0 comments on commit 31c7d7f

Please sign in to comment.