Generate links with encoded hash character