I was trying to figure out how I could write a snippet that would wrap a bunch of lines into a HTML list...  lets say you got this text:

item 01
item 02
item 03

then the snippet would output:

<ul>
    <li>item 01</li>
    <li>item 02</li>
    <li>item 03</li>
</ul>

I'm kinda stuck on how to get the recursive thing to adapt to the number of list items...  Any thoughts?  Thanks!  :)

.........................................

m i n i m a l   d e s i g n

244 Fifth Avenue - Suite P233

New York, NY 10001-7604

USA


tel / fax: 212.931.8525

email: work@minimaldesign.net

site: http://minimaldesign.net/