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

Prevent forced quoting of strings with leading backslash #972

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

jcbfaulks
Copy link
Contributor

@jcbfaulks jcbfaulks commented Sep 6, 2024

The Emitter is currently treating the backslash character (\) as a block/flow indicator and forcing quoting of Scalars that begin with "\".

According to spec https://yaml.org/spec/1.2.2/#indicator-characters backslash is not an indicator character and should not need quoting.

@EdwardCooke EdwardCooke merged commit 1127009 into aaubry:master Sep 11, 2024
1 check passed
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.

2 participants