Skip to content

empty line needed before </div> #1591

@ousia

Description

@ousia

markdown needs an empty line before </div> to handle the last paragraph as such.

Sample file:

<div class="first">
This is a paragraph.

This is another paragraph.
</div>

<div class="first">
This is a paragraph.

This is another paragraph.

</div>

Output converted to HTML:

<div class="first">
This is a paragraph.
</div>
<div class="first">
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</div>

Could you fix this?

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