Skip to content

Scalars should only be quoted if the string starts with @ or ` #320

@Gei0r

Description

@Gei0r

You recently merged #310, but I think it should only be checked if the emitted string starts with @ or backtick.

Although it's hard to tell from the spec.

Other yaml parsers seem to accept internal @ and backticks (while rejecting scalars starting with these chars).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions