This HTML writer has been optimized to produce visually compact lists (less vertical whitespace). HTML's mixed content models allow list items to contain "<li><p>body elements</p></li>" or "<li>just text</li>" or even "<li>text<p>and body elements</p>combined</li>", each with different effects. It would be best to stick with strict body elements in list items, but they affect vertical spacing in browsers (although they really shouldn't).

Here is an outline of the optimization:

The no_compact_lists setting (--no-compact-lists command-line option) disables list whitespace optimization.

Base classes

Implemented Interfaces

There are no implemented interfaces.



Known Subclasses