Fix minor issue with autoLinkUrls()

When using invalid URLs such as wwww.example.com

First pull request submitted and just getting used to git so if I've done anything incorrect please let me know.