I've just started using Haml and Sass and so far I've been finding
them really great.
However I am having trouble with trying to write out a simple nested
list like this:
<ul>
<li>Item</li>
<li>item
<ul>
<li>sub item</li>
<li>sub item</li>
</ul>
</li>
</ul>
In haml:
%ul
%li Item
%li Item
%ul
%li Item
%li Item
but it doesn't seem to work, am I doing something wrong?
Many thanks.
%ul
%li Item
%li
Item
%ul
%li Item
%li Item
- Nathan
Cheers.