mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-10-27 03:49:59 -04:00
Add XML test.
This commit is contained in:
1 parent
67484a4fc4
commit
543fe406b7
2 files changed
+29
-1
No files matched your search
@@ -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:]+>)"
|
||||
|
||||
Reference in new issue
Block a user