diff --git a/src/tables.js b/src/tables.js index 86aa7e9e5..74f5c526d 100644 --- a/src/tables.js +++ b/src/tables.js @@ -131,7 +131,7 @@ function nodeContainsTable(node) { function tableShouldBeSkipped(tableNode) { if (!tableNode) return true; if (!tableNode.rows) return true; - if (tableNode.rows.length <= 1 && tableNode.rows[0].childNodes.length <= 1) return true; // Table with only one cell + if (tableNode.rows.length === 1 && tableNode.rows[0].childNodes.length <= 1) return true; // Table with only one cell if (nodeContainsTable(tableNode)) return true; return false; }