replace a href links with link_to syntax