Skip to content

Missing new lines between adjacent lists #245

@jcable

Description

@jcable

<ol><li>A</li><li>B</li></ol><ul><li>a</li><li>b</li></ul>

Should render to markdown as:

  1. A
  2. B
  • a
  • B

But no blank line is included between the two lists.

I subclassed the main class and removed the before_paragraph logic and always prefixed with 3 newlines and this fixed it for me.

It's a problem because the reverse transform can't find the two lists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions