Incorrect spaces in nested markdown lists

Summary

1. nested       
    1. lists
        - create
        - wrong
    2. spaces
        - between
    3. the
2. lines

becomes:

  1. nested
    1. lists
      • create
      • wrong
    2. spaces
      • between
    3. the
  2. lines

As you can see, this short example creates 3 unwanted spaces.

Steps to reproduce

Copy the example in any Markdown file.

What is the current bug behavior?

You get a "blank line" after each nested list.

current

What is the expected correct behavior?

A nested list should connect directly to the next parent element.

fixed

Possible fixes

I have successfully tested the following CSS with the web browser developer tool:

.md:not(.use-csslab) li ul, .md:not(.use-csslab) li ol {
    margin:0;
}
Assignee Loading
Time tracking Loading