Add XML test.

This commit is contained in:
Jesse Portnoy
2023-07-20 17:45:54 +01:00
parent 67484a4fc4
commit 543fe406b7
2 changed files with 29 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ filetype: xml
detect:
filename: "\\.(xml|sgml?|rng|plist)$"
header: "(<rss|<!DOCTYPE|<xsd)"
header: "(<rss|<!DOCTYPE|<xsd|<\\?xml)"
rules:
- type: "(<(/)?[a-zA-Z:]+>)"