[pmwiki-users] Newlines in list item HTML output

Ryan R. Varick rvarick at gmail.com
Mon Aug 14 16:41:43 CDT 2006


Just a quick question about the way PmWiki generates list markup.  The
following wiki markup:

* Item 1
* Item 2
* Item 3

Will generate the following HTML:

<ul><li>Item 1
</li><li>Item 2
</li><li>Item 3
</li></ul>

Why is the newline placed before the closing list item tag?  More
importantly, is it possible to place the newline *after* the closing
tag?

Like this:

<ul><li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li></ul>

Or ideally,

<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>

Thanks,

Ryan




More information about the pmwiki-users mailing list