Skip to content

How to prevent escaped newlines from being used? #314

Description

@jecdx

Is there a way to force the formatted yaml to not have \n sequences in the strings?

e.g.

Input:

foo: "First line.\nSecond line.\n"

Desired output:

foo: |
  First line.
  Second line.

The content of the string itself has not changed, if I am not mistaken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions