php-autolink icon indicating copy to clipboard operation
php-autolink copied to clipboard

A library to auto convert URL to link.

Results 5 php-autolink issues
Sort by recently updated
recently updated
newest added

Hello, if the url is at the end of a sentence, the auto-linking incorrectly includes the period(.) as part of the url which means the url fails. For example: ```...

It will be great if you add an option to exclude images.

http://localhost/ doesn't match the regular expression of the convert function. Reason: The regular expression expects at least one dot inside the domain name. > $this->getSchemes(true) . ")\:\/\/[a-zA-Z0-9\-\.]+_**\.[a-zA-Z]{2,3}**_([\/a-zA-Z0-9\-._~:?#\[\]@!$&'()*+,;=%\">]*)?)/"

As `\p{P}` is not included in the URL regex, a URL such as `https://www.gallerieswest.ca/magazine/stories/manitoba’s-métis-history/` gets incompletely linked. Adding `\p{P}` to the regex fixes this issue. Whether it's "valid" for a...