encoding/xml: Decoder escapes tab characters #47464
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Go 1.16.6 (play.golang.org)
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?
Use the
encoding/xml
packagesEncoder
to output a tab character inxml.CharData
.https://play.golang.org/p/oFvH6HEn310
Output:
What did you expect to see?
Unescaped tab bytes are output as unescaped tab bytes.
What did you see instead?
Unescaped tab bytes are output as escaped tab bytes.
The text was updated successfully, but these errors were encountered: