[NGRINDER-634] Fix the text escaping for '