Skip to content

Preserve White Space #38

@ghost

Description

Would it be possible to preserve whitespace between sections?

For example, before the script touches an INI file, it could look like this:

[Category1]
Key1=Value1
Key2=Value2

[Category2]
Key1=Value1
Key2=Value2

[Category3]
Key1=Value1
Key2=Value2

[Category4]
Key1=Value1
Key2=Value2

After the script is done, all the white space is gone:

[Category1]
Key1=Value1
Key2=Value2
[Category2]
Key1=Value1
Key2=Value2
[Category3]
Key1=Value1
Key2=Value2
[Category4]
Key1=Value1
Key2=Value2

Makes readability more difficult after batch-editing a bunch of INIs.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions