Skip to content

incorrect handling of link delimiters #20

@aabacchus

Description

@aabacchus
[foo]
[bar](baz)

produces

<p><a href="baz">foo]
[bar</a></p>

instead of the expected

<p>[foo]
<a href="baz">bar</a></p>

Inserting a linebreak gives the expected behaviour. However, if the [foo] is in a table, it seems like the number of linebreaks or other content in between doesn't matter.

|[foo]|

[bar](baz)

gives

<table>
<tr><th><a href="baz">foo]</th></tr>
</table>
<p>[bar</p>
</a>

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