Fixes for bulleted list rendering (#1803)

Changes:

* Fixes the specific case @ToksT mentions in #1803, where non-bulleted lines immediately preceding lists are themselves erroneously output as list items.

* Turns other lines not starting with a bullet into continuations of whatever list item precedes them, instead of separate list items as they were previously.

Making this a pull request for review before merging.