Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

23 Converting tables to HTML > 23.4 Specifying table attributes > 23.4.10 Deciding what to do with empty paragraphs in table cells


23.4.10 Deciding what to do with empty paragraphs in table cells

Browsers neither shade nor apply borders to table cells that are empty, or that contain only tags but no content. By default, Mif2Go 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 Mif2Go do any of the following:

Omit empty paragraph tags

Provide content for empty paragraphs

Retain empty paragraph tags

Omit empty paragraph tags

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 FrameMaker (contains only empty paragraphs), in HTML output that cell would consist of only <td></td>.

When RemoveEmptyTableParagraphs=No, the tags for empty paragraphs are retained in table cells.

Provide content for empty paragraphs

To specify text content for otherwise empty paragraphs in table cells:

[Tables]

; EmptyTbCellContent = string to put in otherwise empty paragraphs

;  in table cells

EmptyTbCellContent = &nbsp;

The default value for EmptyTbCellContent is a single nonbreaking space: &nbsp;.

Retain empty paragraph tags

To retain paragraph tags but omit text content for empty paragraphs in table cells:

[Tables]

RemoveEmptyTableParagraphs = No

EmptyTbCellContent =

When RemoveEmptyTableParagraphs=Yes, EmptyTbCellContent has no effect.

See also:

§20.3.11 Eliminating empty paragraphs in text



23 Converting tables to HTML > 23.4 Specifying table attributes > 23.4.10 Deciding what to do with empty paragraphs in table cells