Test /
EmptyList
Testing how PmWiki applies styles to empty list items. In each list there are three entry, one with no content, one with as the content and one with a literal space as the content.
* %item class=spacer% * %item class=spacer% * %item class=spacer% # %item class=spacer% # %item class=spacer% # %item class=spacer% |
The HTML generated for the above is:
<ul><li> </li><li class='spacer'> </li><li class='spacer'> </li></ul><p class='vspace'></p><ol><li> </li><li class='spacer'> </li><li class='spacer'> </li></ol>
You note that the 'spacer' class is missing from the list items with no content. You'll also notice that the formatting of the two lists seems strange as well.