diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-07-06 17:32:51 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-07-06 17:32:51 +0100 |
| commit | 4f5020499cd5212e214698e14d014c9289b7c72c (patch) | |
| tree | fe00a4831b6cea63de1bfa0749724b9c4789eeb5 /mammoth/conversion.py | |
| parent | 6c0c5a0aea77387ea4873bee27e8df88f867002b (diff) | |
Preserve empty cells in tables
Diffstat (limited to 'mammoth/conversion.py')
| -rw-r--r-- | mammoth/conversion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/conversion.py b/mammoth/conversion.py index fa1333b..0349774 100644 --- a/mammoth/conversion.py +++ b/mammoth/conversion.py @@ -89,7 +89,7 @@ class DocumentConverter(object): def _convert_table_cell(self, table_cell, html_generator): - html_generator.start("td") + html_generator.start("td", always_write=True) for child in table_cell.children: child_generator = HtmlGenerator() self.convert_element_to_html(child, child_generator) |
