Add a function of cleaning text with tags