[pmwiki-users] Newlines in list item HTML output

Andrew Standfield andy at scruffyco.com
Mon Aug 14 17:49:15 CDT 2006


I don't know if this is why Pm wrote this way, but IE interprets line  
breaks between list items as white space.

I actually prefer using

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

Although, I haven't encountered any problems with Pm's formatting.

Andy Standfield
http://www.vertigo25.com/
http://www.ipodnirvana.com/


On Aug 14, 2006, at 2:41 PM, Ryan R. Varick wrote:

> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users





More information about the pmwiki-users mailing list