From 51c237abc000d9b652f9c580633de896aba06225 Mon Sep 17 00:00:00 2001 From: Libor M Date: Thu, 1 Jun 2017 18:50:22 +0200 Subject: [PATCH] fix for pageBreakBefore (issue #1028) --- src/docPreprocessor.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/docPreprocessor.js b/src/docPreprocessor.js index 2432c5e46..3d13eaa55 100644 --- a/src/docPreprocessor.js +++ b/src/docPreprocessor.js @@ -92,8 +92,9 @@ DocPreprocessor.prototype.preprocessTable = function (node) { if (data === null) { // transform to object data = ''; } - - rowData[col] = this.preprocessNode(data); + if (!data._span) { + rowData[col] = this.preprocessNode(data); + } } } }