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

**@user.name** is mistaken for an URL, albeit not being a valid email address #1342

Closed
dasdeck opened this issue Sep 25, 2018 · 1 comment
Closed

Comments

@dasdeck
Copy link

dasdeck commented Sep 25, 2018

edit: Seems like this has been fixed for upcoming 0.6 recently?

@user.name is mistaken for an URL, albeit not being a valid email address

https://marked.js.org/demo/?text=**%40user.name**

"@user.name" should be printed bold

Maybe adjust the "url" regex to only match valid emails?
Or give ** priority?

Cheers!

JM

@dasdeck dasdeck changed the title **@username** is mistaken for an URL, albeit not being a valid email address **@user.name** is mistaken for an URL, albeit not being a valid email address Sep 25, 2018
@UziTech
Copy link
Member

UziTech commented Sep 25, 2018

This was fixed in #1338 and will be in the next release

@UziTech UziTech closed this as completed Sep 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants