Merge pull request #16 from mduheaume/master

Add title when calling createHTMLDocument
This commit is contained in:
Maxime Thirouin
2014-09-16 07:51:04 +02:00

View File

@@ -343,7 +343,7 @@
} }
, loadContent: function(html, options) { , loadContent: function(html, options) {
var tmpEl = document.implementation.createHTMLDocument() var tmpEl = document.implementation.createHTMLDocument("")
// parse HTML attributes to copy them // parse HTML attributes to copy them
// since we are forced to use documentElement.innerHTML (outerHTML can't be used for <html>) // since we are forced to use documentElement.innerHTML (outerHTML can't be used for <html>)