-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
String folding of certain folded block scalar values is ugly #422
Comments
It does look like the string folding is a bit buggy there. The value represented by the stringified result is valid and does match the source, but there's no good reason why that first line should be folded like that. |
Sorry, I do not notice, there are option related with lineWidth, and this fix my problem. Closing :-)
Output is OK now:
Thank you! |
No, this is still a bug that should be fixed. The |
stringify()
True, I see it now. Happy to found new bug :-) blockQuote: literal + lineWidth: 0 solve this for me. Thanks again. |
Describe the bug
Hi. Seems like for some specific multiline strings, output of
stringify()
is formatted invalid.To Reproduce
Example:
Output:
Expected behaviour
Expected output:
Versions (please complete the following information):
Node:
Yaml:
2.1.3
Note: edited and site name was redacted. I try use
example.com
but in this case there was expected output. Probably problem is related with long lines?The text was updated successfully, but these errors were encountered: