Fix for Apple Calendar failing entire availability check because of Shared Calendars (#7934)

pull/7941/head
Syed Ali Shahbaz 2023-03-25 04:25:30 +05:30 committed by GitHub
parent b49ad8294b
commit 492858b45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -4,7 +4,6 @@ export const sanitizeCalendarObject = (obj: DAVObject) => {
return obj.data return obj.data
.replaceAll("\r\n", "\r") .replaceAll("\r\n", "\r")
.replaceAll("\r", "\r\n") .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, ";")
.replaceAll(/(= \r\n|=\r\n|\r\n=|\r\n =)/gm, "="); .replaceAll(/(= \r\n|=\r\n|\r\n=|\r\n =)/gm, "=");
}; };