treat LI elements as block-level elements

Test case included.
Release 1.0.2