fixing emojis and html validation