mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-26 11:43:08 +03:00
Add grammar to support htmlEscape and htmlUnescape
This commit is contained in:
parent
da6284860e
commit
7289930c7b
@ -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 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 keyword predicate startsWith endsWith matches exists includes isInteger isFloat isBoolean isString isCollection
|
||||||
syntax match predicate "contains"
|
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 escapeNumberSign "\\#"
|
||||||
syntax match escapeQuote "\\\""
|
syntax match escapeQuote "\\\""
|
||||||
syntax region string start='"' end='"' contains=escapeQuote
|
syntax region string start='"' end='"' contains=escapeQuote
|
||||||
|
@ -428,8 +428,11 @@ url-encode-filter: "urlEncode"
|
|||||||
|
|
||||||
url-decode-filter: "urlDecode"
|
url-decode-filter: "urlDecode"
|
||||||
|
|
||||||
to-int: "toInt"
|
html-encode-filter: "htmlEscape"
|
||||||
|
|
||||||
|
html-decode-filter: "htmlUnescape"
|
||||||
|
|
||||||
|
to-int: "toInt"
|
||||||
|
|
||||||
# Lexical Grammar
|
# Lexical Grammar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user