From 8ca702caace290b532b8e83b44900ff24aca17ff Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 9 Sep 2025 09:19:21 +0100 Subject: Test reading of table cells when non-cells are present --- lib/docx/body-reader.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js index e6a70e2..b3aea00 100644 --- a/lib/docx/body-reader.js +++ b/lib/docx/body-reader.js @@ -532,6 +532,7 @@ function BodyReader(options) { }); }); if (unexpectedNonCells) { + removeVMergeProperties(rows); return elementResultWithMessages(rows, [warning( "unexpected non-cell element in table row, cell merging may be incorrect" )]); -- cgit v1.2.3