MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / escapeHtml

Function escapeHtml

packages/ci-proxy-worker/src/index.ts:515–522  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

513}
514
515function escapeHtml(value: string): string {
516 return value
517 .replaceAll("&", "&")
518 .replaceAll("<", "&lt;")
519 .replaceAll(">", "&gt;")
520 .replaceAll('"', "&quot;")
521 .replaceAll("'", "&#39;");
522}

Callers 2

passwordPageFunction · 0.70
passwordShellFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected