aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/docx/body-reader.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js
index 2ab5ba7..ad2dd53 100644
--- a/lib/docx/body-reader.js
+++ b/lib/docx/body-reader.js
@@ -480,6 +480,12 @@ function BodyReader(options) {
function readTableRow(element) {
var properties = element.firstOrEmpty("w:trPr");
+
+ var isDeleted = !!properties.first("w:del");
+ if (isDeleted) {
+ return emptyResult();
+ }
+
var isHeader = !!properties.first("w:tblHeader");
return readXmlElements(element.children).map(function(children) {
return documents.TableRow(children, {isHeader: isHeader});