fix #1 - list parsing revisited

Test/fix problems with list end detection. Also take into account
hanging content for multiline list items