Add grammar to support htmlEscape and htmlUnescape

This commit is contained in:
Luke Mondy 2022-12-06 09:28:00 +11:00
parent da6284860e
commit 7289930c7b
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@ syntax keyword operator == != > >= < <= not
syntax keyword query status url header cookie body jsonpath xpath regex variable duration sha256 md5 bytes
syntax keyword predicate startsWith endsWith matches exists includes isInteger isFloat isBoolean isString isCollection
syntax match predicate "contains"
syntax keyword filter count regex urlEncode urlDecode
syntax keyword filter count regex urlEncode urlDecode htmlEscape htmlUnescape
syntax match escapeNumberSign "\\#"
syntax match escapeQuote "\\\""
syntax region string start='"' end='"' contains=escapeQuote

View File

@ -428,8 +428,11 @@ url-encode-filter: "urlEncode"
url-decode-filter: "urlDecode"
to-int: "toInt"
html-encode-filter: "htmlEscape"
html-decode-filter: "htmlUnescape"
to-int: "toInt"
# Lexical Grammar