Q:

Markdown adds redundant empty lines to listings in lists

Markdown seems to duplicate empty lines in listings that appear inside a list:

Single empty line is duplicated
Single empty line below:

Single empty line above.

Two empty lines display correctly
Two empty lines below:

Two empty lines above.

When not inside a list, this works:
Single empty line below:

Single empty line above.

[View source code of this posting]

A:

Indeed, this is a "feature" of most Markdown implementations, and ours is no exception.
See:
Markdown formatting bug with code blocks in lists
For more details.

