MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / escapeHtml

Function escapeHtml

deployments/desktop/static/app.js:1368–1375  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1366}
1367
1368function escapeHtml(value) {
1369 return String(value || "")
1370 .replaceAll("&", "&")
1371 .replaceAll("<", "&lt;")
1372 .replaceAll(">", "&gt;")
1373 .replaceAll('"', "&quot;")
1374 .replaceAll("'", "&#039;");
1375}
1376
1377function bindEvents() {
1378 document.querySelectorAll(".nav-item").forEach((item) => {

Callers 11

renderChoiceListFunction · 0.70
renderRolesFunction · 0.70
renderPushFunction · 0.70
renderReportsFunction · 0.70
renderReportListFunction · 0.70
renderFeishuNoticeFunction · 0.70
renderActivityListFunction · 0.70
renderMustReadFunction · 0.70
renderWikiResultsFunction · 0.70
refreshSettingsFunction · 0.70
renderEnvSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected