fix: team bio (#9438)

* fix bio rendering

* fix type error

---------

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2023-06-09 12:50:35 +00:00
1 parent 91962cc90b
commit bfef5b1877
5 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -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);