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

Function htmlEscape

biko/biko.ts:66–73  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

64<pre>${mainPrefix}acron cmd 0 0 2 * * * me 尾行
65${mainPrefix}biko @group @user 20 me</pre>
66`;
67
68function extractErrorMessage(error: unknown): string {
69 if (error instanceof Error && error.message) return error.message;
70 if (typeof error === "string") return error;
71 return "未知错误";
72}
73
74function normalizeId(value: unknown): string {
75 if (value === null || value === undefined) return "";
76 if (typeof value === "bigint") return value.toString();

Callers 3

formatDigestLineFunction · 0.70
buildDigestLinesFunction · 0.70
BikoPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected