gregjacobs / Autolinker.js

Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML
MIT License
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

denova commented 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 method

Screenshots IG:

efe53f62a4

Autolinker.js:

c8cbed0b2e

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

denova commented 4 years ago

hey guys, any updates here?