Skip to content

Multi-line inline link inside a blockquote #301

@mity

Description

@mity

Input:

> [link](/url 'foo
> bar')

Actual output:

<blockquote>
<p><a href="/url" title="foo
&gt; bar">link</a></p>
</blockquote>

Expected output:

<blockquote>
<p><a href="/url" title="foo
bar">link</a></p>
</blockquote>

I.e. the blockquote mark > from second line should not propagate into the link title.

(Tricky one from https://github.com/mity/md4c/blob/master/test/coverage.txt#L239)

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