removed unsafe characters from tags