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

Crazily long e-mail autolinks not recognized. #100

Closed
mity opened this issue Jan 5, 2020 · 0 comments
Closed

Crazily long e-mail autolinks not recognized. #100

mity opened this issue Jan 5, 2020 · 0 comments
Labels

Comments

@mity
Copy link
Owner

mity commented Jan 5, 2020

The specification uses the regexp

/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?
(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/

to describe body of e-mail auto-link.

According to it, the following is correct autolink but MD4C fails to recognize it.

<foo@123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123>

renders into

<p>&lt;foo@123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123&gt;</p>
@mity mity closed this as completed in 561f52e Jan 5, 2020
@mity mity added the bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant