We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5923282 commit 31c7d7fCopy full SHA for 31c7d7f
1 file changed
src/core/parseHTML.js
@@ -19,7 +19,7 @@ jQuery.parseHTML = function( data, context, keepScripts ) {
19
}
20
// document.implementation stops scripts or inline event handlers from
21
// being executed immediately
22
- context = context || document.implementation.createHTMLDocument();
+ context = context || document.implementation.createHTMLDocument( "" );
23
24
var parsed = rsingleTag.exec( data ),
25
scripts = !keepScripts && [];
0 commit comments