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

This commit is contained in:
Anwar Sadath authored and GitHub committed 2024-12-26 19:18:54 +00:00
1 parent 225313e391
commit 860c04bbda
1 file changed
+2 -1
+2 -1
View File
@@ -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 = (