Add the !DOCTYPE element to the text/html sniff rule

This commit is contained in:
François Revol 2013-03-15 00:55:38 +01:00
parent 5b41331f11
commit 3881911cce

View File

@ -5,7 +5,8 @@ resource(1, "META:TYPE") "text/html";
resource(2, "META:SNIFF_RULE") #'CSTR' array {
"0.40 [0:64]( -i \"<HTML\" | \"<HEAD\" | \"<TITLE\" | \""
"<BODY\" | \"<TABLE\" | \"<!--\" | \"<META\" | \"<CENTER\")"
"<BODY\" | \"<TABLE\" | \"<!--\" | \"<META\" | \"<CENTER\" | \""
"<!DOCTYPE HTML\")"
};
resource(3, "META:S:DESC") #'MSDC' "HTML file";