Skip to content

fix(table): avoid empty lines when wrapped content is clipped - #433

Open
AdamMagued wants to merge 2 commits into
jedib0t:mainfrom
AdamMagued:fix-issue-359
Open

AdamMagued wants to merge 2 commits into
jedib0t:mainfrom
AdamMagued:fix-issue-359

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #359

Summary

  • Omitted empty row lines when wrapped cell contents are blank after clipping.
  • Added unit tests validating table rendering with wrapped and clipped content.

Verified via container sandbox test suite.

@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 37964034476

Coverage decreased (-0.3%) to 99.678%

Details

  • Coverage decreased (-0.3%) from the base build.
  • Patch coverage: 17 uncovered changes across 1 file (105 of 122 lines covered, 86.07%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
table/render.go 122 105 86.07%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 5281
Covered Lines: 5264
Line Coverage: 99.68%
Coverage Strength: 1.2 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't display empty rows when wrapped content is clipped

2 participants