encoding/json: addrMarshalerEncoder does not respect SetEscapeHTML #32896
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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: