Changed solution to use word-wrap:break-word on anchor tags (hat tip to @roundhill for the suggestion).