fix: team bio (#9438)
* fix bio rendering * fix type error --------- Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
91962cc90b
commit
bfef5b1877
5 files changed
+10
-6
No files matched your search
@@ -3,7 +3,7 @@ import sanitizeHtml from "sanitize-html";
|
||||
import { md } from "@calcom/lib/markdownIt";
|
||||
|
||||
export function markdownToSafeHTML(markdown: string | null) {
|
||||
if (!markdown) return null;
|
||||
if (!markdown) return "";
|
||||
|
||||
const html = md.render(markdown);
|
||||
|
||||
|
||||
Reference in new issue
Block a user