Skip to content

Uncommenting a block without trailing space borks indentation #129

@somini

Description

@somini

When uncommenting a block of lines without a space prefix, the uncommented lines with that space keep them, instead of removing them.

This is similar to #77


Example Input:

commentstring=> %s
> Quote
>
> Multiline

Output (with leading spaces):

 Quote

 Multiline

Expected:

Quote

Multiline

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