<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>item 01</DIV><DIV>item 02</DIV><DIV>item 03</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>then the snippet would output:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><ul></DIV><DIV>    <li>item 01</li></DIV><DIV>    <li>item 02</li></DIV><DIV>    <li>item 03</li></DIV><DIV></ul></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm kinda stuck on how to get the recursive thing to adapt to the number of list items...  Any thoughts?  Thanks!  :)<DIV><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">.........................................</P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">m i n i m a l   d e s i g n</P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">244 Fifth Avenue - Suite P233</P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">New York, NY 10001-7604</P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">USA</P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">tel / fax: 212.931.8525</P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">email: <A href="mailto:work@minimaldesign.net">work@minimaldesign.net</A></P><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">site: <A href="http://minimaldesign.net">http://minimaldesign.net</A>/</P> </DIV><BR></DIV></DIV></BODY></HTML>