Skip to content

Missing blank lines above headings or code blocks #176

@ninsbl

Description

@ninsbl

Headings are supposed to be surrounded by blank lines. However,

"Some text.\n\n\n<h4>A heading</h4>\n\n<p>\nA paragraph"

gets converted to:

'Some text.\n#### A heading\n\nA paragraph\n\n'
With just one line-break above the heading.

The same is true for code-blocks, where:

"Some text.\n<div class=\"code\"><pre>ls</pre></div><p>A paragraph</p>"

gets converted to:

Some text.\n\nls\n\n\nA paragraph\n\n

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