Autolinker.js
Autolinker.js copied to clipboard
Url with protocol prefixed with emoji being incorrectly parsed
An url like 👍https://www.google.com is being parsed as http://oogle.com/ . If I remove the protocol and just use 👍www.google.com then it will be parsed correctly http://xn--www-0113b.google.com/.
This can be confirmed using the live demo example: http://greg-jacobs.com/Autolinker.js/examples/live-example/
I believe this could be a regression from https://github.com/gregjacobs/Autolinker.js/pull/276.
@gregjacobs Any chance you could take a look at this one?