mirror of https://github.com/kdl-org/kdl.git
Do not escape / (Solidus, Forwardslash) (#197)
This commit is contained in:
parent
d9459f67c0
commit
910f6e90a7
3
SPEC.md
3
SPEC.md
|
|
@ -319,7 +319,6 @@ interpreted as described in the following table:
|
|||
| Carriage Return | `\r` | `U+000D` |
|
||||
| Character Tabulation (Tab) | `\t` | `U+0009` |
|
||||
| Reverse Solidus (Backslash) | `\\` | `U+005C` |
|
||||
| Solidus (Forwardslash) | `\/` | `U+002F` |
|
||||
| Quotation Mark (Double Quote) | `\"` | `U+0022` |
|
||||
| Backspace | `\b` | `U+0008` |
|
||||
| Form Feed | `\f` | `U+000C` |
|
||||
|
|
@ -461,7 +460,7 @@ type := '(' identifier ')'
|
|||
string := raw-string | escaped-string
|
||||
escaped-string := '"' character* '"'
|
||||
character := '\' escape | [^\"]
|
||||
escape := ["\\/bfnrt] | 'u{' hex-digit{1, 6} '}'
|
||||
escape := ["\\bfnrt] | 'u{' hex-digit{1, 6} '}'
|
||||
hex-digit := [0-9a-fA-F]
|
||||
|
||||
raw-string := 'r' raw-string-hash
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
node "\"\\\/\b\f\n\r\t"
|
||||
node "\"\\\b\f\n\r\t"
|
||||
|
|
|
|||
Loading…
Reference in New Issue