Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

TomlTableWriter does not escape Keys properly. #23

@pragmatrix

Description

@pragmatrix

According to the TOML specification, BareKeys may contain dots (.) and if they do, the key needs to be quoted.

The parser seems to take in quoted keys as expected, but TomlTableWriter does not escape them and generates invalid TOML files.

For example:

"a.value" = 0

is written as

a.value = 0

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