Fixes formatting issues with lists in event type description and bio (#7505)
* fix ul and ol in editor * fix imports * disable list for team about section * fix event type description in list --------- Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
14 files changed
+51
-46
No files matched your search
@@ -1,7 +1,6 @@
|
||||
import type { PrismaClient, EventType } from "@prisma/client";
|
||||
import MarkdownIt from "markdown-it";
|
||||
|
||||
const md = new MarkdownIt("default", { html: true, breaks: true, linkify: true });
|
||||
import { md } from "@calcom/lib/markdownIt";
|
||||
|
||||
function parseAndSanitize(description: string) {
|
||||
const parsedMarkdown = md.render(description);
|
||||
|
||||
Reference in new issue
Block a user