php-linkify
php-linkify copied to clipboard
Converts URLs and email addresses into HTML links
The library detects "www.example.com", but not "example.com" Obviously we're getting close to the area of false positives here, but I think this can be countered by using a whitelist of...
Length of domain zones can be more than 4 characters: in fact, up to 24 characters ([link](https://jasontucker.blog/8945/what-is-the-longest-tld-you-can-get-for-a-domain-name)) I'm talking about these methods: https://github.com/misd-service-development/php-linkify/blob/master/src/Misd/Linkify/Linkify.php#L151 and https://github.com/misd-service-development/php-linkify/blob/master/src/Misd/Linkify/Linkify.php#L203
I don't know if you'd want this to clutter up your repository, it's just I was trying to work on the code on a Mac with PHP5 installed and I...
I have a url, https://medianewsletter.net/lets-give-reader-comments-another-chance-and-for-real-this-time-77506d29856b?source=user_profile---------9---------------- which results in an empty output. If I change it to not end with a dash all works fine. I can remove the dash from...
Hi, Very nice lib, i looked at the code and it seems to me there is : 1) a typo error in a comment for the regex explanation line 154...
This makes it easier to deal with failures. Before, if the first line in the data file failed, none of the subsequent lines would run. Now every line will always...
Another release :-)
Added processTwitterHandles to Linkify Interface and linkifyTwitter function to add HTML links to @Twitter Handles
Adding a `require_scheme` option allows a user to disable auto-linking of things that look like URLs (e.g. `www.example.com`), so that only full URLs (e.g. `https://www.example.com`) are auto-linked. The scheme currently...
I have a situation where the code that sets the callback calls a wrapper around Linkify, and this wrapper sets the attributes. Thus my callback doesn't know about the attributes...