Skip to content

Escape asterisk as yaml sequence value #493

@olenagerasimova

Description

@olenagerasimova

Eo-yaml does not always escape asterisk while formattings yaml mapping object to string. The yaml example:

Jane:
  - read
John:
  - read
  - write
Mark:
  - "*"

This is expected yaml string, however * is not escaped while calling toString() method on YamlMapping object currently by eo-yaml and thus the string representation is not a valid yaml.

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