fixing special characters output in comments and comment replies