import * as React from "react"; import { cn } from "@/components/ui/utils"; interface FormattedDescriptionProps { content: string; className?: string; } /** * FormattedDescription Component * * Renders HTML content with proper styling for lists, tables, and other formatted content. * Use this component to display descriptions that may contain HTML formatting. */ export function FormattedDescription({ content, className }: FormattedDescriptionProps) { const processedContent = React.useMemo(() => { if (!content) return ''; // Wrap tables that aren't already wrapped in a scrollable container using regex // Match