phanan / vue-linkify

A simple Vue directive to turn URL's and emails into clickable links
83 stars 16 forks source link

Cannot linkify custom schema #9

Open andrew-bibby opened 5 years ago

andrew-bibby commented 5 years ago

This work great for most scenarios however I am required to also linkify some custom app schemas which are failing to linkify currently.

For example these work:

www.examplesite.com examplesite.com https://examplesite.com

This half works:

custom-scheme://examplesite.com

A custom schema only half works - by that i mean the text 'custom-scheme:' is not part of the link but '//examplesite.com' is linkified.

Is there any way to solve this, or a way to update to ensure the whole text is linkifed?