Skip to content

--email-obfuscation=none mangles nested tags within mailto links in HTML output #1625

@DirkGerrits

Description

@DirkGerrits

Running pandoc --email-obfuscation=none -o test.html test.md on this test.md file:

[E-mail the *incredible* me](mailto:me@example.net)

produces this test.html file:

<p><a href="mailto:me@example.net">E-mail the &lt;em&gt;incredible&lt;/em&gt; me</a></p>

instead of the expected:

<p><a href="mailto:me@example.net">E-mail the <em>incredible</em> me</a></p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions