Updated text sanitization.