Browsers neither shade nor apply borders to table cells that are empty, or that contain only tags but no content. By default, DITA2Go adds a single nonbreaking space between the opening and closing tags of each otherwise empty table-cell paragraph. This is appropriate for HTML and generic XML, but not for DITA XML or DocBook XML.
You can have DITA2Go do any of the following:
Provide content for empty paragraphs
To omit empty paragraphs from table cells:
[Tables]
; RemoveEmptyTableParagraphs = No (default)
; or Yes (DITA/DocBook default)
RemoveEmptyTableParagraphs = Yes
When RemoveEmptyTableParagraphs=Yes, paragraph tags are omitted for empty paragraphs in table cells (except for preformatted text, where tags are always preserved). If a table cell is blank in DITA (contains only empty elements) in HTML output that cell would consist of only <td></td>.
When RemoveEmptyTableParagraphs=No, the tags for empty elements are retained in table cells.
Provide content for empty paragraphs
To specify text content for otherwise empty elements in table cells:
[Tables]
; EmptyTbCellContent = string to put in otherwise empty paragraphs
; in table cells
EmptyTbCellContent =
The default value for EmptyTbCellContent is a single nonbreaking space: .
To retain paragraph tags but omit text content for empty elements in table cells:
[Tables]
RemoveEmptyTableParagraphs = No
EmptyTbCellContent =
When RemoveEmptyTableParagraphs=Yes, EmptyTbCellContent has no effect.