You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
Twitter-text isn't the best autolinker, but it does reliably define how URL's will be treated in tweets.
It works across Java, JS, Ruby, Obj-C, and others that adhere to conformance.
If you just need URL linking, irrespective of Twitter, this isn't your best choice.
You can autolink @NAMEs #hashtags and $cashtags separately too with each library.
Have to agree, when using twitter-text in conjunction with something like rinku for url/mailto' linking they do clash somewhat - however I can understand @jakl's point of view.
I'd probably suggest adding an option as rinku does which allows you to specify which links get converted by twitter-text, so you can choose just mentions and hashtags.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way to not autolink URLs?
From what I understand, twitter-text-rb isn't really meant for URLs, so I prefer letting https://github.com/vmg/rinku deal with that.
The text was updated successfully, but these errors were encountered: