gregjacobs / Autolinker.js

Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML
MIT License
1.48k stars 238 forks source link

Umlauts and autolinker #133

Closed dmr closed 8 years ago

dmr commented 8 years ago

Is autolinker linking Umlaute correctly?

var t = 'www.bü.de';
console.info(t, autolinker.link(t));

www.büro.de --> <a href="http://www.b">www.b</a>üro.de

Anybody else with these problems?

eteeselink commented 8 years ago

Yep, I had it with this beautiful URL: https://www.google.nl/maps/place/Jastrzębie+Zdrój,+Polen/@50.2382659,18.0383159,8z/data=!4m2!3m1!1s0x4711531967e6fff9:0x2d46bb7bab386866

eteeselink commented 8 years ago

I might manage to submit a pull request for this btw

dmr commented 8 years ago

Cool!

simison commented 8 years ago

Dublicate #89

gregjacobs commented 8 years ago

Finally added support for all international chars!