Skip to content

Email links missing mailto: prefix in rendered HTML #95

@Ote-Leo

Description

@Ote-Leo

When rendering markdown that contains email-style links, the built-in HTML renderer generates an anchor tag without the mailto: scheme.

For example, running:

echo "You can ask [John Doe](john.doe@email.com)." | cargo run -q --

produces:

<p>You can ask <a href="john.doe@email.com">John Doe</a>.</p>

The expected behavior is for the href attribute to include the mailto: prefix, so that the link is recognized as an email link.

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