aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/parseHTML.js2
1 files changed, 1 insertions, 1 deletions
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 && [];