(text: string)
| 1799 | |
| 1800 | // Escape HTML but render **bold** as <strong> |
| 1801 | function escapeHtmlWithBold(text: string): string { |
| 1802 | const escaped = escapeHtml(text) |
| 1803 | return escaped.replace(/\*\*(.+?)\*\*/g, '<strong>$1</strong>') |
| 1804 | } |
| 1805 | |
| 1806 | // Fixed orderings for specific charts (matching Python reference) |
| 1807 | const SATISFACTION_ORDER = [ |
no test coverage detected