CalDavSynchronizer.DDayICalWorkaround.CalendarDataPreprocessor.NormalizeLineBreaks C# (CSharp) Метод

NormalizeLineBreaks() публичный статический Метод

public static NormalizeLineBreaks ( string iCalendarData ) : string
iCalendarData string
Результат string
     public static string NormalizeLineBreaks (string iCalendarData)
     {
       // Certain iCal providers like Open-Xchange deliver their data with unexpected linebreaks
       // which causes DDay.iCal to fail. This can be fixed by normalizing the unexpected \r\r\n to \r\n
       return iCalendarData.Replace("\r\r\n", "\r\n");
     }
  }