Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML
1.48k
stars
238
forks
source link
Instagram mention parsing: string with >2 dots in a row (..) falsely recognised as IG mention #289
Open
denova opened 5 years ago
Expected Behaviour IG usernames which have >2 dots in a row (..) should NOT be linkified
Actual Behaviour IG usernames which have >2 dots in a row (..) are linkified via
link
methodScreenshots IG:
Autolinker.js:
Didn't find docs about this but if you try to change you username using 2 dots in a row IG shows a error message.
289 https://github.com/gregjacobs/Autolinker.js/issues/288