Add the !DOCTYPE element to the text/html sniff rule
This commit is contained in:
parent
5b41331f11
commit
3881911cce
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user