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

Add flag to emit multiline strings #132

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

killercup
Copy link

based on #129 as it would otherwise conflict quite easily

paulhauner and others added 2 commits May 14, 2019 16:41
@killercup
Copy link
Author

See this as WIP for now -- there is only one (doc) test for it and I'm currently integration this into serde_yaml, and then use it in a project.

self.multiline_strings = multiline_strings
}

/// Determine if this emitter will wrap all strings in double-quotes.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy and paste ;)

@karheinz
Copy link

karheinz commented Oct 5, 2019

@killercup
I took your commit for emitting multiline strings (if enabled and appropriate) and applied it to master.

See merge request #137

@max-sixty
Copy link

I realize this is now very old, but would be great to have this functionality.

Maybe this could be a candidate for merging if someone forks the project...

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.

4 participants