If you enter following long url in sample code then you will notice that only first line is getting hyperlink instead of complete URL.
http://2.bp.blogspot.com/_wuODgRtiCUY/TO2W2EqC2hI/AAAAAAAAAEA/PbwTm9Cl8As/s1600/Shining-Apple-Logo-759135.jpg
Please fix the issue for url detection if it is long (more than 1 line)