aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2014-12-09 16:37:30 -0500
committerTimmy Willison <timmywillisn@gmail.com>2014-12-09 16:37:30 -0500
commit31c7d7fb7530e1af950b41d13dd956820d5c6908 (patch)
treee6aaa4c7c0bb6138eec0ab234794a39bfe39a7ec
parent59232825aa87b941dd2418a6860b64017dfec0ae (diff)
downloadjquery-31c7d7fb7530e1af950b41d13dd956820d5c6908.tar.gz
jquery-31c7d7fb7530e1af950b41d13dd956820d5c6908.zip
Core: pass empty string to createHTMLDocument to appease IE
-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 && [];