encoding/json: addrMarshalerEncoder does not respect SetEscapeHTML #32896
Labels
Milestone
Comments
Change https://golang.org/cl/184757 mentions this issue: |
Thanks - this seems like a simple fix, so I've sent a CL with a test. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?1.12.5 (playground)
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?play.golang.org
What did you do?
https://play.golang.org/p/lt-Mky4vAtq
What did you expect to see?
What did you see instead?
I noticed this inconsistency while studying the code of encoding/json, and I believe this is an edge case that was missed in #14749.
The text was updated successfully, but these errors were encountered: