improve detection of list item continuations

should fix issue #105