Closed jlc467 closed 7 years ago
If there are hashtags or mentions that overlap, e.g. #BirdWatch and #BirdWatcher, i found where it will sometimes link #BirdWatcher as #BirdWatch if it sees it first.
you can try npm install twitter-text https://github.com/twitter/twitter-text/tree/master/js
npm install twitter-text
it has an autoLink function. Otherwise, i'm interested to see what approach you take to solve it.
If there are hashtags or mentions that overlap, e.g. #BirdWatch and #BirdWatcher, i found where it will sometimes link #BirdWatcher as #BirdWatch if it sees it first.
you can try
npm install twitter-text
https://github.com/twitter/twitter-text/tree/master/jsit has an autoLink function. Otherwise, i'm interested to see what approach you take to solve it.