Supporting doctype in ignorecase