Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Yaml] YAMLDumper does not support writing using folded/literal style #16236

Copy link
Copy link
Closed
@deanc

Description

@deanc
Issue body actions

http://yaml.org/spec/1.2/spec.html#id2760844

Specifically, there is no way to output this:

>
 Sammy Sosa completed another
 fine season with great stats.

   63 Home Runs
   0.288 Batting Average

 What a year!

The main reason I find that this is odd, is if you use the YamlLoader and do zero processing on the data, and then immediately dump it back out again - it changes the file. I would expect the API's to be compatible (even if it requires configuration).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.