Revert "Fix markdown editor escaped list markers"

This reverts commit fbcd80948e.
This commit is contained in:
Dotta
2026-03-07 10:09:04 -06:00
parent f85f2fbcc2
commit a4d0901e89
4 changed files with 8 additions and 83 deletions

View File

@@ -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>
);