Fix XML highlighting when tags are spread on multiple lines

This commit is contained in:
ariasuni
2019-01-11 03:00:32 +01:00
parent aaac5466d1
commit daa0d67c6f
2 changed files with 5 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ detect:
header: "<\\?xml.*\\?>"
rules:
- identifier: "<.*?>"
- comment:
start: "<!DOCTYPE"
end: "[/]?>"
@@ -14,4 +13,8 @@ rules:
start: "<!--"
end: "-->"
rules: []
- identifier:
start: "<"
end: ">"
rules: []
- special: "&[^;]*;"