+ in email addresses - edge case with a lot of variation between implementations.
Michel Fortin
michel.fortin at michelf.com
Fri Jul 25 05:28:23 EDT 2008
Le 2008-07-25 à 3:52, Tomas Doran a écrit :
> http://babelmark.bobtfish.net/?markdown=%3Ca%2Bb%40c.org%3E&normalize=on
>
> Only Python markdown, Pandoc, discount and PEG markdown seem to get
> this 'right'.
>
> As a + is perfectly valid in email addresses, I'm going to fix this
> in my modules.
>
> This was reported to me via the cpan.org RT (37909), and I thought
> I'd share as it's a good one in Babelmark.
I'm looking at [some examples of valid email addresses on Wikipedia]
[1] and wondering if we should we support all these...
<abc.123 at example.com>
<1234567890 at example.com>
<_______ at example.com>
<abc+mailbox/department=shipping at example.com>
<!#$%&'*+-/=?^_`.{|}~@example.com> (all of these characters are
allowed)
<"abc at def"@example.com> (anything goes inside quotation marks)
<"Fred Bloggs"@example.com>
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Markdown-Discuss
mailing list