Fix : replace special char for all url in the function whereas directly in the href