DOCX Output: Fix missing <td> tag causing conversion to fail. Fixes

This commit is contained in:
Kovid Goyal 2017-01-07 21:34:24 +05:30
parent 10648d3d00
commit 331718a0db

View File

@ -242,6 +242,8 @@ class Row(object):
self.current_cell = None
def add_block(self, block):
if self.current_cell is None:
self.start_new_cell(self.html_tag, self.orig_tag_style)
self.current_cell.add_block(block)
def add_table(self, table):