summaryrefslogtreecommitdiff
path: root/doc/bugs/markdown_bug:_email_escaping_and_plus_addresses.mdwn
blob: 875de48c87b8f4660f074e35633ff29d67ffe982 (plain)

compare:

* <jon+markdownbug@example.org>
* <jon.markdownbug@example.org>

It seems putting a '+' in there throws it. Maybe it's a markdown bug, or maybe the obfuscation markdown applies to email-links is being caught by the HTML sanitizer.

-- [[JonDowland]]

It's a markdown bug. For some reason, markdown doesn't recognize the email with a '+' as an email:

$ echo '<a+b@c.org>' | markdown
<p><a+b@c.org></p>

htmlscrubber then (rightly) removes this unknown tag.

But I've noticed some other Text::Markdown bugs that, even with htmlscrubber, produce ill-formed (X)HTML. (View the markdown source of this page.)

--Gabriel