Skip to content

Decode \x \u \U bytes in double quoted strings #204

@biojppm

Description

@biojppm

If decoding is not done, then emitting in single-quoted strings will be wrong, causing the event tests to fail.
Eg: https://play.yaml.io/main/parser?input=LSAiXG5ceDBhIg==

- "\n\x0a"

Causes these events:

+STR
+DOC
+SEQ
=VAL '\n\\x0a
-SEQ
-DOC
-STR

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