Limit the displayed length of URLs