MCPcopy Index your code
hub / github.com/codeaashu/claude-code / escapeHtmlWithBold

Function escapeHtmlWithBold

src/commands/insights.ts:1801–1804  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

1799
1800// Escape HTML but render **bold** as <strong>
1801function 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)
1807const SATISFACTION_ORDER = [

Callers 1

generateHtmlReportFunction · 0.85

Calls 1

escapeHtmlFunction · 0.50

Tested by

no test coverage detected