Fixed ignoring a doctype definition
Merge pull request #17 from hason/doctype

Fixed ignoring a doctype definition