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

Function htmlEscape

tmp_admin/tmp_admin.ts:103–110  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

101 text: string;
102 parseMode?: "html";
103};
104
105function codeTag(text: string | number): string {
106 return `<code>${htmlEscape(String(text))}</code>`;
107}
108
109function isMessageNotModified(error: any): boolean {
110 return String(error?.message || error).includes("MESSAGE_NOT_MODIFIED");
111}
112
113async function editMessageIgnoringNotModified(

Callers 2

codeTagFunction · 0.70
formatEntityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected