Markdown writer:  Fix rendering of tight sublists.

E.g.

    - foo
        - bar
    - baz

Previously a spurious blank line was included before the last item.
Closes #1050.