Remove characters disallowed in XML from message text

Case 77515

Is necessary in order to export to a valid Excel file.