From 492858b45bd5a87600e3b243098e37a228ee49e8 Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Sat, 25 Mar 2023 04:25:30 +0530 Subject: [PATCH] Fix for Apple Calendar failing entire availability check because of Shared Calendars (#7934) --- packages/lib/sanitizeCalendarObject.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/lib/sanitizeCalendarObject.ts b/packages/lib/sanitizeCalendarObject.ts index 65c368a711..d5f40ea4eb 100644 --- a/packages/lib/sanitizeCalendarObject.ts +++ b/packages/lib/sanitizeCalendarObject.ts @@ -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, "="); };