Skip to content

Conversation

@mrsdizzie
Copy link
Member

@mrsdizzie mrsdizzie commented Mar 5, 2025

Previously the final table output was trimmed with the intention of removing the last newline. This had an unintended side effect of removing the tab characters from empty columns in the specific case where the last row had one or more empty columns at the end of the row. This makes sure we are only removing the newline character as intended.

Add a new unit test to verify this behavior as well.

This fixes #183

Previously the final table output was trimmed with the intention of
removing the last newline. This had an unintended side effect of
removing the tab characters from empty columns in the specific case
where the last row had one or more empty columns at the end of the row.
This makes sure we are only removing the newline character as intended.

Add a new unit test to verify this behavior as well.
@mrsdizzie mrsdizzie requested a review from a team as a code owner March 5, 2025 14:32
Copy link
Member

@swissspidy swissspidy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🚀

@swissspidy swissspidy added this to the 0.12.4 milestone Mar 5, 2025
@swissspidy swissspidy added the bug label Mar 5, 2025
@swissspidy swissspidy merged commit fbb9c6e into master Mar 5, 2025
17 checks passed
@swissspidy swissspidy deleted the fix-tabular-trim branch March 5, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible regression in #182

3 participants