mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-31 14:26:27 -04:00
Add XML test.
This commit is contained in:
@@ -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