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

Ensure mapping values are quoted when they contain a : separtor #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TristanCacqueray
Copy link

@TristanCacqueray TristanCacqueray commented Mar 9, 2021

This change prevents issue when the encoded yaml is invalid:

This object: { key = "value: value" }
Is encoded as: key: value: value
Instead of: key: "value: value"

Fixes: #12

This change prevents issue when the encoded yaml is invalid:

This object:    { key = "value: value" }
Is encoded as:  key: value: value
Instead of:     key: "value: value"

Signed-off-by: Tristan Cacqueray <[email protected]>
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.

YAML strings containing a colon followed by a space should be quoted
1 participant