MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / escHtml

Function escHtml

packages/cli/src/commands/present.ts:305–311  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

303}
304
305function escHtml(value: string): string {
306 return value
307 .replace(/&/g, "&")
308 .replace(/</g, "&lt;")
309 .replace(/>/g, "&gt;")
310 .replace(/"/g, "&quot;");
311}

Callers 1

buildPresentPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected