import { Fragment } from "react"; /** * Renders AI-generated proposal strings with emphasis, without ever handing raw * HTML to the DOM. * * These strings come from Claude (src/lib/proposal/agent.ts), which builds its * prompt from client transcripts — third-party text. They were previously * rendered with dangerouslySetInnerHTML on the public /preventivo/[slug] page, * so a successful prompt injection became stored XSS against the prospect * (C-4 in .planning/SECURITY-SCAN.md). The prompt never asks for HTML in the * first place; the only markup worth keeping is emphasis. * * Recognises **bold** and / and turns them into real React elements. * Anything else — including ,