diff --git a/index.js b/index.js index efa2517..be13c30 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ Pjax.prototype = { }, loadContent: function(html, options) { - var tmpEl = document.implementation.createHTMLDocument() + var tmpEl = document.implementation.createHTMLDocument("") // parse HTML attributes to copy them // since we are forced to use documentElement.innerHTML (outerHTML can't be used for )