Closed
Description
for example
https://google.com/mail/u/0/#label/!!!Today/15c9b8193da01e65
it will return only https://google.com/mail/u/0/#label/ as link
for example
https://google.com/mail/u/0/#label/!!!Today/15c9b8193da01e65
it will return only https://google.com/mail/u/0/#label/ as link
Activity
puzrin commentedon Jun 22, 2017
Interesting case. Isn't it too specific? As far as i understand, you can define anything in mailbox label.
jarindr commentedon Jun 22, 2017
@puzrin you are right, but exclamation mark is something we don't actually need to have a pattern to avoid it?
puzrin commentedon Jun 22, 2017
Go to http://this.link!!!
- !!! should be excludedpuzrin commentedon Jun 22, 2017
There are condition for
!
https://github.com/markdown-it/linkify-it/blob/2.0.3/lib/re.js#L71 (and tests), but those do not cover your case.Add guard test for reverted commit, #54
puzrin commentedon May 19, 2020
Sorry, reverted fix due collision. See commited sample.
Allow multiple exclamation marks in urls
Add guard test for reverted commit, markdown-it#54
Fix exclamation marks at the end of links