linkify icon indicating copy to clipboard operation
linkify copied to clipboard

support schemaless urls

Open alexwennerberg opened this issue 3 years ago • 1 comments

I use protocol-relative URLs sometimes, such as

//google.com

instead of

https://google.com

Is there any way this library could be modified to include these URLs? Maybe as an optional configuration?

See https://datatracker.ietf.org/doc/html/rfc3986#section-4.2

alexwennerberg avatar May 04 '22 21:05 alexwennerberg

See https://github.com/robinst/linkify/pull/17. The PR is not being worked on right now, but you might want to look into the remaining issues mentioned there.

mre avatar May 05 '22 08:05 mre