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

Function htmlEscape

atall/atall.ts:7–11  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

5
6import { htmlEscape } from "@utils/htmlEscape";
7
8// HTML转义函数
9// 消息分割函数(限制调整为4000字符)
10const splitMessagesByMention = (mentions: string[], maxLength = 4000): string[] => {
11 const messages: string[] = [];
12 let currentMessage = "";
13
14 for (const mention of mentions) {

Callers 1

AtAllPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected