Don't close LI if a deeper list follows,
fixes #623