This demonstrates how nglayout doesn't count list items quite right...
This is a list item (should be 1)
This is a list item (should be 2)
This is a list item (should be 3)
This is a list item (should be 4)
And now a simpler case, with no class="p" elements.
This is a list item (should be 5)
This is a list item (should be 6)
This is a list item (should be 7)
This is a list item (should be 8)
And now the first of the two bits of invalid HTML of the whole page: raw, bare, naked <li> elements.
This is a list item (should be 1)
This is a list item (should be 2)
This is a list item (should be 3)
This is a list item (should be 4)
But it works if there is an <ol> element around them.
-
This is a list item (should be 1)
-
This is a list item (should be 2)
-
This is a list item (should be 3)
-
This is a list item (should be 4)
Just a little more invalid HTML to check that the list above didn't mess up the counter for the raw <li>s...
This is a list item (should be 5)
Just for luck, some nesting would be good. Note that list-items inside <li>s messes up the counters for the <li>s.
This is a list item (should be 9)
This is a list item (should be 10)
This is a list item (should be 11)
This is a list item (should be 12)
This is a list item (should be 13)
This is a list item (should be 14)
This is a list item (should be 15)
This is a list item (should be 16)
-
This is a list item (should be 1)
-
This is a list item (should be 2)
-
This is a list item (should be 3)
-
This is a list item (should be 1)
-
This is a list item (should be 2)
-
This is a list item (should be 3)
This is a list item (should be 17)
This is a list item (should be 18)
This is a list item (should be 19)
This is a list item (should be 20)
-
This is a list item (should be 4)
-
This is a list item (should be 4)