Skip to content

Prevent forced quoting of strings with leading backslash#972

Merged
EdwardCooke merged 3 commits into
aaubry:masterfrom
jcbfaulks:no_quote_backslash
Sep 11, 2024
Merged

Prevent forced quoting of strings with leading backslash#972
EdwardCooke merged 3 commits into
aaubry:masterfrom
jcbfaulks:no_quote_backslash

Conversation

@jcbfaulks

@jcbfaulks jcbfaulks commented Sep 6, 2024

Copy link
Copy Markdown
Contributor

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
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