diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2014-12-09 16:37:30 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2014-12-09 16:37:30 -0500 |
commit | 31c7d7fb7530e1af950b41d13dd956820d5c6908 (patch) | |
tree | e6aaa4c7c0bb6138eec0ab234794a39bfe39a7ec | |
parent | 59232825aa87b941dd2418a6860b64017dfec0ae (diff) | |
download | jquery-31c7d7fb7530e1af950b41d13dd956820d5c6908.tar.gz jquery-31c7d7fb7530e1af950b41d13dd956820d5c6908.zip |
Core: pass empty string to createHTMLDocument to appease IE
-rw-r--r-- | src/core/parseHTML.js | 2 |
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 && []; |