Revert "Fix markdown editor escaped list markers"
This reverts commit fbcd80948e.
This commit is contained in:
@@ -4,7 +4,6 @@ import remarkGfm from "remark-gfm";
|
||||
import { parseProjectMentionHref } from "@paperclipai/shared";
|
||||
import { cn } from "../lib/utils";
|
||||
import { useTheme } from "../context/ThemeContext";
|
||||
import { normalizeMarkdownArtifacts } from "../lib/markdown";
|
||||
|
||||
interface MarkdownBodyProps {
|
||||
children: string;
|
||||
@@ -115,7 +114,6 @@ function MermaidDiagramBlock({ source, darkMode }: { source: string; darkMode: b
|
||||
|
||||
export function MarkdownBody({ children, className }: MarkdownBodyProps) {
|
||||
const { theme } = useTheme();
|
||||
const normalizedMarkdown = normalizeMarkdownArtifacts(children);
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
@@ -156,7 +154,7 @@ export function MarkdownBody({ children, className }: MarkdownBodyProps) {
|
||||
},
|
||||
}}
|
||||
>
|
||||
{normalizedMarkdown}
|
||||
{children}
|
||||
</Markdown>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user