Skip to content

[Yaml] Mappings with multiline keys are not supported while the documentation explicitly mentions it to work #12095

Closed
@ampaze

Description

@ampaze

In a Yaml file used for translations, I want to use a multiline key using the folded style.

The Yaml Documentation first describes the folded style for multiline text under the section scalar and then goes on to say

In a mapping, a key can be any valid scalar.

But it just results in parsing error. Is this a bug or is the documentation wrong?
In any case I think especially in translation files this would be very good to have.

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