amethyst
amethyst copied to clipboard
Minor bug: Text with ellipsis (...) rendered as clickable link
Issue is illustrated below.

It appears that Patterns.WEB_URL allows this! Maybe this is a better regex, works for me:
(http|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])
It's not just ellipses, it's anything containing periods. Amethyst attempted to linkify "iris.to" (without protocol header" as well as "U.S.". See screenshots for detail. At the very least, whatever is attempting to detect URLs to linkify them should probably require a URL protocol part before deciding how to embed the URL.
Just another comment... I noticed that abbreviations such as e.g, n.b and i.e also get the link treatment. I think it's better therefore not to make assumptions about the text and use the scheme/prefix provided. After all, that's what it's there for!
I believe this was fixed a few versions ago. Closing it for now