Skip to content

CommonMark blockquote example 221 fails #696

@zq1997

Description

@zq1997

According to commonmark spec

It is a consequence of the Laziness rule that any number of initial >s may be omitted on a continuation line of a nested block quote:

>>> foo
> bar
>>> baz

should be render to (By spec.commonmark.org and github comment system)

<blockquote>
<blockquote>
<blockquote>
<p>foo
bar
baz</p>
</blockquote>
</blockquote>
</blockquote>

but current implemention gives:

<blockquote>
<blockquote>
<blockquote>
<p>foo
bar</p>
</blockquote>
<blockquote>
<p>baz</p>
</blockquote>
</blockquote>
</blockquote>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions