diff --git a/apps/web/src/chat/markdown.test.ts b/apps/web/src/chat/markdown.test.ts index fc56ed534..27ed00cc8 100644 --- a/apps/web/src/chat/markdown.test.ts +++ b/apps/web/src/chat/markdown.test.ts @@ -72,6 +72,17 @@ test("Chat Markdown admits formatting without document features", () => { expect(markdown("Planner wrote **strongly**.")).toContain("strongly"); }); +test("indentation keeps nested lists and code blocks intact", () => { + let nested = + /
  • parent\s*