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

Function htmlEscape

isalive/isalive.ts:26–33  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

24https://docs.telethon.dev/en/stable/concepts/entities.html
25`;
26
27// HTML转义函数
28function codeTag(text: string | number): string {
29 return `<code>${htmlEscape(String(text))}</code>`;
30}
31async function formatEntity(
32 target: any,
33 mention?: boolean,
34 throwErrorIfFailed?: boolean
35) {
36 const client = await getGlobalClient();

Callers 2

codeTagFunction · 0.70
IsAlivePluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected