Fix for Apple Calendar failing entire availability check because of Shared Calendars (#7934)
parent
b49ad8294b
commit
492858b45b
|
@ -4,7 +4,6 @@ export const sanitizeCalendarObject = (obj: DAVObject) => {
|
|||
return obj.data
|
||||
.replaceAll("\r\n", "\r")
|
||||
.replaceAll("\r", "\r\n")
|
||||
.replaceAll(/(: \r\n|:\r\n|\r\n:|\r\n :)/gm, ":")
|
||||
.replaceAll(/(; \r\n|;\r\n|\r\n;|\r\n ;)/gm, ";")
|
||||
.replaceAll(/(= \r\n|=\r\n|\r\n=|\r\n =)/gm, "=");
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue