Skip to content

Keep Markdown tables from swallowing following blocks - #154

Open
RowletCC wants to merge 1 commit into
profullstack:masterfrom
RowletCC:fix/table-boundary
Open

RowletCC wants to merge 1 commit into
profullstack:masterfrom
RowletCC:fix/table-boundary

Conversation

@RowletCC

Copy link
Copy Markdown
Contributor

A table in a job description or resume consumes the next heading, quote, or list when that line contains a pipe. For example, # Benefits | Location immediately after a table becomes two table cells instead of a section heading. The renderer also accepts tables whose header and delimiter rows have different numbers of cells.

Require matching header/delimiter cell counts and stop table-body collection before an existing supported block opener. Alignment and ragged body-row handling retain their existing behavior. This change covers table recognition and termination; escaped pipe handling remains in the separately submitted PR #150.

Validation: seven independent behavioral checks pass after the fix; the same checks fail in five places on unchanged master. All three focused table tests pass. TypeScript type checking (tsc -p tsconfig.json --noEmit) and npm run build pass. Preservation checks cover alignment, missing and extra body cells, and block-like text inside explicit table cells.

Reference: GFM tables, examples 201 and 203–204.

Submitted under the published $0.25 USD-equivalent reward per valid bug-fix PR, using the existing application and settlement conversation. Requested settlement remains native SOL on Solana mainnet; acceptance and the exact net token amount still require the payer’s confirmation.

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.

1 participant