Removed DOS CR characters as per Alixis de Talhouet's code review to patch #18478.