From 860c04bbdaac248ceb55e249e743cc9454c98278 Mon Sep 17 00:00:00 2001 From: Anwar Sadath <37188392+asadath1395@users.noreply.github.com> Date: Fri, 27 Dec 2024 00:48:54 +0530 Subject: [PATCH] fix: discrepancy in description hyperlinks and calendar invite (#18365) --- packages/lib/CalEventParser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/lib/CalEventParser.ts b/packages/lib/CalEventParser.ts index d851f7f9f3..97c9335709 100644 --- a/packages/lib/CalEventParser.ts +++ b/packages/lib/CalEventParser.ts @@ -7,6 +7,7 @@ import type { CalendarEvent, Person } from "@calcom/types/Calendar"; import { WEBAPP_URL } from "./constants"; import getLabelValueMapFromResponses from "./getLabelValueMapFromResponses"; import isSmsCalEmail from "./isSmsCalEmail"; +import { markdownToSafeHTML } from "./markdownToSafeHTML"; const translator = short(); @@ -129,7 +130,7 @@ export const getDescription = (calEvent: Pick, t: return ""; } return `\n${t("description")} - ${calEvent.description} + ${markdownToSafeHTML(calEvent.description)} `; }; export const getLocation = (