From 760f35e7a78775f5fe95bc65f5fd9a43c38ebf38 Mon Sep 17 00:00:00 2001 From: MVilaH <124970615+MVilaH@users.noreply.github.com> Date: Wed, 14 Jan 2026 21:20:59 -0500 Subject: [PATCH] incomplete row on page break This fixes the problem with the last row you saw when you include the foot and it is changed page because the table continues in the next one. Fixes #283 --- src/tableDrawer.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tableDrawer.ts b/src/tableDrawer.ts index fa762bf7..04d4fb99 100644 --- a/src/tableDrawer.ts +++ b/src/tableDrawer.ts @@ -382,7 +382,6 @@ function printFullRow( } else if (shouldPrintOnCurrentPage(doc, row, remainingSpace, table)) { // The row gets split in two here, each piece in one page const remainderRow = modifyRowToFit(row, remainingSpace, table, doc) - printRow(doc, table, row, cursor, columns) addPage(doc, table, startPos, cursor, columns) printFullRow(doc, table, remainderRow, isLastRow, startPos, cursor, columns) } else {