Skip to content

Broken strikethrough of plain email text: [email protected]~~ #1307

@cayuu

Description

@cayuu

Describe the bug
When GFM is true, the following text:

Renders as:

<a href="mailto:[email protected]">[email protected]</a>~~

In HTML it thus shows up as something like (but not exactly, the mailto should render as above - see the Markdown demo for exact behaviour, Github's parser is harder to coerce to the invalid rendering):

~~[email protected]~~

To Reproduce
Steps to reproduce the behavior:

Simply type [email protected]~~ into the Demo.

Expected behavior
Expect the following output

<del><a href="mailto:[email protected]">[email protected]</a></del>

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1 - brokenValid usage causes incorrect output OR a crash AND there is no known workaround for the issuecategory: linkshelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions