MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / htmlEscape

Function htmlEscape

sum/sum.ts:21–27  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

19 createDirectoryInAssets("sum"),
20 "summary_config.json"
21);
22
23function codeTag(value: any): string {
24 return `<code>${htmlEscape(value)}</code>`;
25}
26
27function attrEscape(value: any): string {
28 return htmlEscape(value).replace(/'/g, "&#39;");
29}
30

Callers 5

codeTagFunction · 0.70
attrEscapeFunction · 0.70
formatEntityFunction · 0.70
executeSummaryFunction · 0.70
SummaryPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected