Scheduling infrastructure for absolutely everyone.
fix: link is not rendering properly for SMS and WhatsApp workflows (#17116)
Anik Dhabal Babu1f42a152b050
diff --git a/packages/features/ee/workflows/components/WorkflowStepContainer.tsx b/packages/features/ee/workflows/components/WorkflowStepContainer.tsxindex 5dd72e8d5fc..e162ba192b2 100644--- a/packages/features/ee/workflows/components/WorkflowStepContainer.tsx+++ b/packages/features/ee/workflows/components/WorkflowStepContainer.tsx@@ -10,6 +10,7 @@ import { classNames } from "@calcom/lib";import { SENDER_ID, SENDER_NAME } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import { HttpError } from "@calcom/lib/http-error";+import { md } from "@calcom/lib/markdownIt";import { getTimeFormatStringFromUserTimeFormat } from "@calcom/lib/timeFormat";import turndown from "@calcom/lib/turndownService";import { TimeUnit, WorkflowActions, WorkflowTemplates, WorkflowTriggerEvents } from "@calcom/prisma/enums";@@ -916,7 +917,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {</div><EditorgetText={() => {- return props.form.getValues(`steps.${step.stepNumber - 1}.reminderBody`) || "";+ return md.render(props.form.getValues(`steps.${step.stepNumber - 1}.reminderBody`) || "");}}setText={(text: string) => {if (isSMSOrWhatsappAction(step.action)) {