Skip to content

Commit

Permalink
Fix quotted string parsing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Aug 7, 2018
1 parent 1f610b9 commit 4d4337a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions formatter/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (j *JSON) Write(p []byte) (n int, err error) {
default:
if j.lastQuote != 0 {
cp = append(cp, b)
j.last = b
continue
}
}
Expand Down

0 comments on commit 4d4337a

Please sign in to comment.