Closed aaronraimist closed 2 years ago
Hi @aaronraimist, thanks for reporting. This is a known issue and will be fixed in v4 (#354)
when will this be ready?
I am currently adding a custom parser for matrix:u/...
links. This causes all kinds of issues. Maybe I should open specific issues in what I am running into. This would be really really helpful!
@toger5 a beta is now available that you can try out:
npm install linkifyjs@beta
(Requires @beta
versions of related Linkify plugins and interfaces)
No timeline yet on a stable release, there's still a few more features that need development
Fixed in latest v4 release. Have to add a second true
argument to the registerCustomPrococol
function call.
The description for linkify.registerCustomProtocol says "Linkify will consider any string that begins with the given protocol followed by a : as a URL link" but that doesn't seem to be true. Linkifyjs seems to be looking for
://
after the protocol for it to be considered a link.URI schemes without an authority component such as
geo:
,matrix:
, andxmpp:
don't get linkified.Here is an example: https://codepen.io/aaronraimist/pen/bGoOXrq. Only
mailto
gets linkified.