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

capitalized domains not linking #35

Closed darren-dev closed 10 years ago

darren-dev commented 10 years ago

Some of my clients like to type purely in capitals.

URL's with a capitalized domain, such as;

WWW.GOOGLE.COM

or even

www.google.COM

won't auto link

darren-dev commented 10 years ago

In all fairness, I haven't found a site or example that auto links pure capital links (PS: Autolinker links the last example) - So I can see why it won't auto link here.

However, clients are clients, and I will still have a million emails concerning this!

gregjacobs commented 10 years ago

Hey, added this in 0.11.0. Let me know if that's good :)