Added support for document.doctype when content is injected via document.innerHTML; Also added support for document.doctype.toString() to return the original unparsed doctype. Also added support for adding the doctype back to the html when calling document.outerHTML; This should make documents that are fetched and injected act/look more like the original. Fixes issue #11
Added support for document.doctype when content is injected via document.innerHTML;
Also added support for document.doctype.toString() to return the original unparsed doctype.
Also added support for adding the doctype back to the html when calling document.outerHTML;
This should make documents that are fetched and injected act/look more like the original.
Fixes issue #11

Ye-Yong-Chi/jsdom,sirbrillig/jsdom,kittens/jsdom,sebmck/jsdom,fiftin/jsdom,selam/jsdom,aduyng/jsdom,godmar/jsdom,kesla/jsdom,lcstore/jsdom,janusnic/jsdom,susaing/jsdom,janusnic/jsdom,Ye-Yong-Chi/jsdom,crealogix/jsdom,beni55/jsdom,snuggs/jsdom,aduyng/jsdom,cpojer/jsdom,evdevgit/jsdom,zaucy/jsdom,robertknight/jsdom,kangax/jsdom,isaacs/jsdom,vestineo/jsdom,Joris-van-der-Wel/jsdom,evanlucas/jsdom,tmpvar/jsdom,kevinold/jsdom,oelmekki/jsdom,darobin/jsdom,szarouski/jsdom,lcstore/jsdom,concord-consortium/jsdom,substack/jsdom,AshCoolman/jsdom,medikoo/jsdom,AshCoolman/jsdom,oelmekki/jsdom,mbostock/jsdom,iizukanao/jsdom,vestineo/jsdom,kittens/jsdom,mbostock/jsdom,janusnic/jsdom,crealogix/jsdom,szarouski/jsdom,dexteryy/jsdom-nogyp,nicolashenry/jsdom,evdevgit/jsdom,darobin/jsdom,kesla/jsdom,sebmck/jsdom,kittens/jsdom,Sebmaster/jsdom,kangax/jsdom,godmar/jsdom,AshCoolman/jsdom,susaing/jsdom,evdevgit/jsdom,zaucy/jsdom,lcstore/jsdom,Zirro/jsdom,sirbrillig/jsdom,snuggs/jsdom,robertknight/jsdom,mzgol/jsdom,Joris-van-der-Wel/jsdom,aduyng/jsdom,Ye-Yong-Chi/jsdom,danieljoppi/jsdom,zaucy/jsdom,danieljoppi/jsdom,szarouski/jsdom,jeffcarp/jsdom,AVGP/jsdom,Sebmaster/jsdom,Sebmaster/jsdom,cpojer/jsdom,evanlucas/jsdom,cpojer/jsdom,nicolashenry/jsdom,sebmck/jsdom,beni55/jsdom,papandreou/jsdom,brianmcd/cloudbrowser-jsdom,kevinold/jsdom,mbostock/jsdom,jeffcarp/jsdom,concord-consortium/jsdom,isaacs/jsdom,Joris-van-der-Wel/jsdom,darobin/jsdom,kesla/jsdom,papandreou/jsdom,kevinold/jsdom,singlebrook/linkck,beni55/jsdom,tmpvar/jsdom,vestineo/jsdom,Zirro/jsdom,dexteryy/jsdom-nogyp,mzgol/jsdom,medikoo/jsdom,mzgol/jsdom,evanlucas/jsdom,medikoo/jsdom,AVGP/jsdom,sirbrillig/jsdom,fiftin/jsdom,robertknight/jsdom,danieljoppi/jsdom,nicolashenry/jsdom,selam/jsdom,substack/jsdom,susaing/jsdom,selam/jsdom,brianmcd/cloudbrowser-jsdom,iizukanao/jsdom,jeffcarp/jsdom,fiftin/jsdom