MCPcopy Create free account
hub / github.com/openai/plugins / escapeHtml

Function escapeHtml

plugins/plugin-eval/src/renderers/html.js:1–7  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1function escapeHtml(value) {
2 return String(value)
3 .replaceAll("&", "&")
4 .replaceAll("<", "&lt;")
5 .replaceAll(">", "&gt;")
6 .replaceAll("\"", "&quot;");
7}
8
9function renderList(items) {
10 if (items.length === 0) {

Callers 8

renderListFunction · 0.70
renderChecksFunction · 0.70
renderMetricsFunction · 0.70
renderDeductionsFunction · 0.70
renderCategoryDeductionsFunction · 0.70
renderMeasurementPlanFunction · 0.70
renderWorkflowGuideFunction · 0.70
renderHtmlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected