Factor out from webignition/html-document-type-identifier