Skip to content

Commit 09582cb

Browse files
committed
Fix TOC page links for chapters containing tables
1 parent 9e3d977 commit 09582cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

creator/table.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ func (table *Table) GeneratePageBlocks(ctx DrawContext) ([]*Block, DrawContext,
451451
ulY = ctx.Margins.top
452452

453453
ctx.Height = ctx.PageHeight - ctx.Margins.top - ctx.Margins.bottom
454+
ctx.Page++
454455
origHeight = ctx.Height
455456

456457
startrow = cell.row - 1

0 commit comments

Comments
 (0)