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

Function htmlEscape

keyword/keyword.ts:335–342  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

333 )
334 `);
335}
336
337function codeTag(text: string | number): string {
338 return `<code>${htmlEscape(String(text))}</code>`;
339}
340
341// 跟踪延迟删除定时器,确保 reload 时可以清理
342const pendingDeleteTimers = new Set<ReturnType<typeof setTimeout>>();
343
344class KeywordAlias {
345 add(fromCid: number, toCid: number): void {

Callers 4

exportStrMethod · 0.70
replaceReplyMethod · 0.70
codeTagFunction · 0.70
keywordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected