Skip to content

A key named Comment breaks the export #106

@lipkau

Description

@lipkau

Description

If a INI file with a key Comment= is Imported, the key will (erroneously) be marked as a comment line and thus, the export will fail

Steps To Reproduce

Ini file

Key=Value
Comment=Lorem

script:

Import-Ini file.ini | Export-Ini file.ini

output ini:

Key = Value
;Lorem

Expected behaviors

output ini:

Key = Value
Comment = Lorem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions