Empty <p> and <li> ranges are removed – Adobe InDesign User Manual
Page 41

Support for more than one CSS class name in 'Style To Tag/Class' fields of paragraph,
character, and object styles
Multiple Class names must be separated by one or more spaces, and the first Class name will be used to generate the CSS for Style, if Emit CSS
is enabled for this Style.
For example, a Paragraph Style that says:
Class: InDesign is the best
Results in:
<p class=”InDesign is the best”>foo</p>
p.InDesign {…}
The intention of this feature is to allow designers to override or extend CSS properties via the “Additional CSS File” mechanism in the Advanced
tab of the EPUB Export dialog.
No additional checking is done for the values specified and during export InDesign simply carries them along for the purposes of markup and
otherwise ignores them.
Empty <p> and <li> ranges are removed
Empty Paragraphs in InDesign are not empty – they contain a carriage return and are composed with vertical height.
In HTML, InDesign maps Paragraphs to <p> and <li> tags as appropriate and the carriage return is not part of the mapping that can lead to empty
tags.
36