sanitize posted text