fix: org bio (#17971)

* fix: org bio

* chore: use in bookings
This commit is contained in:
Udit Takkar authored and GitHub committed 2024-12-03 16:30:03 +00:00
1 parent e61a0d8081
commit 1c5786b66f
5 files changed
+16 -5

No files matched your search

@@ -7,6 +7,7 @@ import { PriceIcon } from "@calcom/features/bookings/components/event-meta/Price
import { classNames, parseRecurringEvent } from "@calcom/lib";
import getPaymentAppData from "@calcom/lib/getPaymentAppData";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML";
import type { baseEventTypeSelect } from "@calcom/prisma";
import { SchedulingType } from "@calcom/prisma/enums";
import type { EventTypeModel } from "@calcom/prisma/zod";
@@ -50,7 +51,7 @@ export const EventTypeDescription = ({
shortenDescription ? "line-clamp-4 [&>*:not(:first-child)]:hidden" : ""
)}
dangerouslySetInnerHTML={{
__html: eventType.descriptionAsSafeHTML || "",
__html: markdownToSafeHTML(eventType.descriptionAsSafeHTML || ""),
}}
/>
)}