Uncommenting a block without trailing space borks indentation
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
I came here to report this issue exactly, so instead I just add a comment to show interest. It would be nice to have a fix for this!
Also: in the example above, the second quoted line is a single > but the exact same thing happens if there is a trailing space after the > (a common pattern in quoted mail messages).
the exact same thing happens if there is a trailing space after the
>(a common pattern in quoted mail messages).
Precisely my use case. I thought the trailing space would fix it, but you are right.