Added method to clean special characters from tags