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

Function htmlEscape

lottery/lottery.ts:20–27  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

18const prefixes = getPrefixes();
19const mainPrefix = prefixes[0];
20
21// HTML escape function
22function codeTag(text: string | number): string {
23 return `<code>${htmlEscape(String(text))}</code>`;
24}
25
26// Initialize database
27let db = new Database(
28 path.join(createDirectoryInAssets("lottery"), "lottery.db")
29);
30

Callers 6

codeTagFunction · 0.70
sendPrizeToWinnerFunction · 0.70
formatUserLineFunction · 0.70
performLotteryDrawFunction · 0.70
lotteryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected