From c3b0aa2b07a6953d7b0c14d5fa52d0ca8a92cd72 Mon Sep 17 00:00:00 2001 From: knubix Date: Thu, 19 Sep 2024 21:00:21 +0200 Subject: [PATCH] fix: beside skipping empty rows, empty cells should be skipped as well; avoid unnecessary empty cells in final sheet covering longer cells left of them --- xmlWorksheet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlWorksheet.go b/xmlWorksheet.go index 4cc92b1a..f0bfac58 100644 --- a/xmlWorksheet.go +++ b/xmlWorksheet.go @@ -717,7 +717,7 @@ func (worksheet *xlsxWorksheet) makeXlsxRowFromRow(row *Row, styles *xlsxStyleSh xRow.C = append(xRow.C, xC) return nil - }) + }, SkipEmptyCells) return xRow, err }