From 09582cb100fa9d4526b5dd0f36facb33ea4990be Mon Sep 17 00:00:00 2001 From: Adrian-George Bostan Date: Mon, 23 Sep 2019 20:34:51 +0300 Subject: [PATCH] Fix TOC page links for chapters containing tables --- creator/table.go | 1 + 1 file changed, 1 insertion(+) diff --git a/creator/table.go b/creator/table.go index 4e5aa843..f2d502fc 100644 --- a/creator/table.go +++ b/creator/table.go @@ -451,6 +451,7 @@ func (table *Table) GeneratePageBlocks(ctx DrawContext) ([]*Block, DrawContext, ulY = ctx.Margins.top ctx.Height = ctx.PageHeight - ctx.Margins.top - ctx.Margins.bottom + ctx.Page++ origHeight = ctx.Height startrow = cell.row - 1