X Tutup
The Wayback Machine - https://web.archive.org/web/20201207105419/https://github.com/github/cmark-gfm/issues/187
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email addresses not parsed correctly #187

Open
michael-hawker opened this issue Apr 1, 2020 · 0 comments
Open

Email addresses not parsed correctly #187

michael-hawker opened this issue Apr 1, 2020 · 0 comments

Comments

@michael-hawker
Copy link

@michael-hawker michael-hawker commented Apr 1, 2020

I've noticed that GitHub (which I assume uses this Markdown parser) doesn't properly process certain email addresses in its autolink feature. Some times it will convert things which aren't email addresses and other times it won't convert things that are. See reference to RFC 3696 and the formatting of valid email addresses.

For example, valid e-mails not parsed (see Babelmark as well):

  • a!b@test.com (note the a! is missing)
  • "a..b"@test.com (quoted parts are ok)

and invalid e-mails parsed:

These are the full list of valid examples from the RFC (only 2 succeed here):

And valid from Wikipedia:

And some invalid ones from Wikipedia:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup