MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / escapeHtml

Function escapeHtml

tests/loadtest/tools/dashboard/app.js:1512–1519  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1510}
1511
1512function escapeHtml(value) {
1513 return String(value)
1514 .replaceAll("&", "&")
1515 .replaceAll("<", "&lt;")
1516 .replaceAll(">", "&gt;")
1517 .replaceAll('"', "&quot;")
1518 .replaceAll("'", "&#39;");
1519}
1520
1521init().catch(handleError);

Callers 14

renderRunListFunction · 0.85
renderLatencyChartFunction · 0.85
renderThresholdsFunction · 0.85
renderCompareThresholdsFunction · 0.85
renderChecksFunction · 0.85
renderCompareChecksFunction · 0.85
renderMetricsTableFunction · 0.85
renderCompareMetricsFunction · 0.85
lineChartFunction · 0.85
compareLineChartFunction · 0.85
compareBarChartFunction · 0.85
compareSummaryCardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected