niederlec/get-doctype — pull request #2 by vincentorback (2014-12-03 00:06:05+00:00)
Title: Fail safe error fix

For when the doctype doesn’t have multiple values.

I used your package to get the doctype from a html document, and since it’s just `` now, the script crashed.

I know this is supposed to be used for .xml files but it works great for .html files as well :+1: