Do not escape / (Solidus, Forwardslash) (#197)

This commit is contained in:
Danielle Smith 2022-08-28 21:59:26 +02:00 committed by GitHub
parent d9459f67c0
commit 910f6e90a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -1 +1 @@
node "\"\\\/\b\f\n\r\t"
node "\"\\\b\f\n\r\t"