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

Autolinker.js doesn't recognize local ips #148

Closed thatkookooguy closed 8 years ago

thatkookooguy commented 8 years ago

When I write a local web address as: http://10.0.0.108:9000/, Autolinker.js doesn't recognize it as a url.

Is there an option I missed to enable this or is this just not implemented as a rule?

thanks

gregjacobs commented 8 years ago

Hey, currently no option for that, but definitely something to add. Feel like making a PR? :)

thatkookooguy commented 8 years ago

sure! I'll try and work on this and add a PR :+1:

gregjacobs commented 8 years ago

Support added in v0.28.0