generate html link tags around URLs