Skip to content

Commit bb10766

Browse files
committed
Revert "forward solidus is not supposed to be escaped"
This reverts commit 7a86309.
1 parent 7a86309 commit bb10766

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

parser.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ func unescapeStringBestEffort(s string) string {
323323
b = append(b, '"')
324324
case '\\':
325325
b = append(b, '\\')
326+
case '/':
327+
b = append(b, '/')
326328
case 'b':
327329
b = append(b, '\b')
328330
case 'f':

0 commit comments

Comments
 (0)