aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-07-05 19:56:43 +0100
committerMichael Williamson <mike@zwobble.org>2014-07-05 19:56:43 +0100
commitc0654e048359aa7dfbc9d4be4527b9bed3a4447a (patch)
tree5f39e6a15c54b1ba99a25fb391202414287adbeb /lib/document-to-html.js
parent91a7928116c5157b451892e586b684744dbe4174 (diff)
Always write out table cells, even when empty
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index 6c954e6..ad76eff 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -238,7 +238,7 @@ function DocumentConversion(options) {
});
},
"tableCell": function(element, html, messages, callback) {
- html.open(htmlPaths.element("td"));
+ html.open(htmlPaths.element("td"), {alwaysWrite: true});
async.map(element.children, function(child, callback) {
var cellHtml = new HtmlGenerator();