Skip to content

Commit

Permalink
Fix: gmnlpp: forgot replacing \ -> \\
Browse files Browse the repository at this point in the history
  • Loading branch information
hymkor committed Oct 16, 2022
1 parent 5ecd16c commit c140d8a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/gmnlpp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ var (
)

var unescapeSequenceReplacer = strings.NewReplacer(
"\n", "\\n",
"\r", "\\r",
"\t", "\\t",
"\b", "\\b",
"\"", "\\\"",
"\\", "\\\\",
)

var equalMark = false
Expand Down

0 comments on commit c140d8a

Please sign in to comment.