mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 01:11:02 +02:00
Justify \/ escape
This commit is contained in:
parent
dfc9428ac7
commit
fe6a54abaf
@ -52,7 +52,7 @@ func stringUnescape(loc *ast.LocationRange, s string) (string, error) {
|
||||
case '\\':
|
||||
buf.WriteRune('\\')
|
||||
case '/':
|
||||
buf.WriteRune('/') // This one is odd, maybe a mistake.
|
||||
buf.WriteRune('/') // See json.org, \/ is a valid escape.
|
||||
case 'b':
|
||||
buf.WriteRune('\b')
|
||||
case 'f':
|
||||
|
Loading…
x
Reference in New Issue
Block a user