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

Function htmlEscape

ids/ids.ts:9–13  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

7import { safeGetMe } from "@utils/authGuards";
8import { htmlEscape } from "@utils/htmlEscape";
9
10// HTML转义工具
11const codeTag = (text: string | number): string => `<code>${htmlEscape(String(text))}</code>`;
12
13// 获取命令前缀
14const prefixes = getPrefixes();
15const mainPrefix = prefixes[0];
16

Callers 3

codeTagFunction · 0.70
IdsPluginClass · 0.70
formatUserInfoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected