sanitizing links in the chat