XHTML parser: handle orphaned <li> elements.