diff --git a/goextVersion.go b/goextVersion.go index 2831fb6..496e127 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.502" +const GoextVersion = "0.0.503" -const GoextVersionTimestamp = "2024-08-07T19:35:23+0200" +const GoextVersionTimestamp = "2024-08-07T19:37:38+0200" diff --git a/wpdf/wpdfTableRow.go b/wpdf/wpdfTableRow.go index d6f5976..5e67a66 100644 --- a/wpdf/wpdfTableRow.go +++ b/wpdf/wpdfTableRow.go @@ -41,8 +41,8 @@ func (r *TableRowBuilder) CellObjects(cells ...TableCell) *TableRowBuilder { return r } -func (r *TableRowBuilder) CellWithStyle(cell string, style TableCellStyleOpt) *TableRowBuilder { - r.cells = append(r.cells, TableCell{Content: cell, Style: style}) +func (r *TableRowBuilder) CellWithStyle(cell string, style *TableCellStyleOpt) *TableRowBuilder { + r.cells = append(r.cells, TableCell{Content: cell, Style: *style}) return r }