Fix logXmlEntity & escape and add numeric ref. support, for #8 and #10

This commit is contained in:
MTDL9
2020-08-23 08:39:52 +02:00
parent e880f223f0
commit e1faf5165e

View File

@@ -85,7 +85,7 @@ syn match logXmlAttribute contained "\(\n\|\s\)\(\(\w\|-\)\+:\)\?\(\w\|-\)\+\
syn match logXmlNamespace contained "\(\w\|-\)\+:" contains=logOperator syn match logXmlNamespace contained "\(\w\|-\)\+:" contains=logOperator
syn region logXmlComment start=/<!--/ end=/-->/ syn region logXmlComment start=/<!--/ end=/-->/
syn match logXmlCData /<!\[CDATA\[.*\]\]>/ syn match logXmlCData /<!\[CDATA\[.*\]\]>/
syn match logXmlEntity /\&\w\+;/ syn match logXmlEntity /&#\?\w\+;/
" Levels " Levels