diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/document-to-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 48a7e61..93f9524 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -218,7 +218,7 @@ function DocumentConversion(options, comments) { function convertTable(element, messages, options) { var bodyIndex = _.findIndex(element.children, function(child) { - return !child.isHeader; + return !child.type === documents.types.tableRow || !child.isHeader; }); if (bodyIndex === -1) { bodyIndex = element.children.length; |
