Hello, recently I was working on multilevel menu template. After some experimenting I followed Skrol's idea from topic:
Problem is that in output code I get something like:
<ul>
<li><a href="1.htm">1</a>
</li><li><a href="2.htm">2</a>
</li><li><a href="3.htm">3</a>
</li>
</ul>
|
Output is semantically correct, but ugly. Is there a way to put closing li tag back to previous line or at least at separate line.
Can I also somehow get rid off empty lines that appear in output when block is not merged?
Thank you.