linkifyjs icon indicating copy to clipboard operation
linkifyjs copied to clipboard

JavaScript plugin for finding links in plain-text and converting them to HTML <a> tags.

Results 91 linkifyjs issues
Sort by recently updated
recently updated
newest added

Nice to meet you, Thank you for the great OSS you are providing! I love to using this OSS! There is one problem in hashtag plugin with Japanese that I...

I've just noticed in our editor that uses linkify to find links in typed or pasted text, that the library by default is returning that a string with a dot...

case : https://xxxxx-xxxxx.xxxxx.io/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h%2Fh,to:now))&_a=(columns:!(),filters:!(),index:'7bcc7bb0-4a37-11ef-920c-b92aa0004024',interval:auto,query:(language:kuery,query:'user_id%20171177%20and%20event_name%20long_task_duration'),sort:!(!(timestamp,desc))) but result is : https://xxxxx-xxxxx.xxxxx.io/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-24h%2Fh,to:now))&_a=(columns:!(),filters:!(),index:'7bcc7bb0-4a37-11ef-920c-b92aa0004024',interval:auto,query:(language:kuery,query:'user_id%20171177%20and%20event_name%20long_task_duration'),sort:!(!(timestamp,desc) **miss two ‘)’** ![de93ce6b0c36b75383adffa474d9b896](https://github.com/user-attachments/assets/a755ed1c-aab7-4eb2-8b59-6db0bb7d3a2b)

bug
parsing

Hi, ```js // +-----------------------------+--------------------+ // | Expected | Actual | import { find } from 'linkifyjs'; // +-----------------------------+--------------------+ console.log(find('example.com/?foo=bar')[0].href); // | http://example.com/?foo=bar | Same | console.log(find('example.com?foo=bar')[0].href); // | http://example.com/?foo=bar |...

### Steps to reproduce 1. Send URL such as `https://genshin-impact.fandom.com/wiki/Ho%27olauna_aloha!`, `https://en.wikipedia.org/wiki/'` (note the trailing single quote) ### Outcome #### What did you expect? Linkify should include the trailing reserved characters,...

According to the docs when you have a string such as this: Linkify creates a text node for . This is not what is happening. It includes the `">` as...

bug
docs

I use the library to detect, in messages, URLs used to scam people. However, today, the detection failed on a message due to an invalid library detection preventing a parse...

bug
parsing

- Comments containing noting but a single `-` are not terminated properly, causing actual markup to be commented out. Note that a double hyphen `--` has the same effect. ##...

For example, `mailto:[email protected]:123` is linkified (`linkifyjs/string`) as: `mailto:[email protected]:123`. The value of the `href` attribute and the value of the text node both contain an invalid email address `[email protected]:123`. Since the...

In a string like "test#foo" the #foo is parsed as hashtag which is unexpected behaviour imho. It's definitely wrong in a string like example.com#foo where #foo is a separate link...