Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not escape JSON #35

Merged
merged 1 commit into from
Nov 16, 2020
Merged

Do not escape JSON #35

merged 1 commit into from
Nov 16, 2020

Conversation

mightyguava
Copy link
Contributor

encoding/json escapes &, <, and > by default. This is not useful for golden tests and only makes the output harder to read.

`encoding/json` escapes &, <, and > by default. This is not useful for golden tests and only makes the output harder to read.
@sebdah sebdah merged commit 927dbef into sebdah:master Nov 16, 2020
@ernado
Copy link

ernado commented Nov 16, 2020

this is breaking change :(

Update broke build in CI: gotd/tl#2

Can we make it as opt-in setting instead of default?

@sebdah
Copy link
Owner

sebdah commented Nov 17, 2020

@ernado Jeez, yes, my bad. Have reverted this. We'll need to do what you say and have this as an opt-in instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants