Skip to content

List items with nothing but blank lines #443

@mity

Description

@mity

Spec 0.27 says:

A list item can begin with at most one blank line. In the following example, foo is not part of the list item.

And demonstrates it with Example 241.

However later, there is Example 274:

* a
*

* c

Spec says it should render to

<ul>
<li>
<p>a</p>
</li>
<li></li>
<li>
<p>c</p>
</li>
</ul>

but then the 2nd item here starts with two blank lines which contradicts the quoted rule.

Therefore, I would expect

<ul>
<li>a</li>
<li></li>
</ul>
<ul>
<li>c</li>
</ul>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions