fix: custom implem markdownToSafeHTML for platform (#18018)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export function markdownToSafeHTML(markdown: string | null) {
|
||||
if (!markdown) return "";
|
||||
|
||||
return markdown;
|
||||
}
|
||||
@@ -15,3 +15,4 @@ export type { UpdateScheduleInput_2024_06_11 as UpdateScheduleBody } from "@calc
|
||||
export { Shell } from "./src/components/ui/shell";
|
||||
export { AddMembersWithSwitchWebWrapper } from "./add-members-switch/AddMembersWithSwitchWebWrapper";
|
||||
export { AddMembersWithSwitchPlatformWrapper } from "./add-members-switch/AddMembersWithSwitchPlatformWrapper";
|
||||
export { markdownToSafeHTML } from "./lib/markdownToSafeHTML";
|
||||
|
||||
@@ -52,6 +52,7 @@ export default defineConfig(({ mode }) => {
|
||||
path: resolve("../../../node_modules/rollup-plugin-node-builtins"),
|
||||
os: resolve("../../../node_modules/rollup-plugin-node-builtins"),
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
"@calcom/lib/markdownToSafeHTML": "@calcom/atoms/monorepo",
|
||||
".prisma/client": path.resolve(__dirname, "../../prisma-client"),
|
||||
"@prisma/client": path.resolve(__dirname, "../../prisma-client"),
|
||||
"@calcom/prisma": path.resolve(__dirname, "../../prisma"),
|
||||
|
||||
Reference in New Issue
Block a user