Skip to content

js-yaml (safeDump, etc) does not quote a string starting with a 0 (zero) #725

@rochanam

Description

@rochanam

YAML 1.2 specification...
"Strings should be quoted if they start with a leading zero and should be treated strictly as strings."

This results in the strings being treated as a number instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions