Skip to content

Scheduling infrastructure for absolutely everyone.

fix: discrepancy in description hyperlinks and calendar invite (#18365)

Anwar Sadath860c04bbdaac
diff --git a/packages/lib/CalEventParser.ts b/packages/lib/CalEventParser.ts
index d851f7f9f3d..97c9335709d 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<CalendarEvent, "description">, t:
return "";
}
return `\n${t("description")}
- ${calEvent.description}
+ ${markdownToSafeHTML(calEvent.description)}
`;
};
export const getLocation = (