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

Function htmlEscape

tts/tts.ts:75–82  ·  view source on GitHub ↗
(text: unknown)

Source from the content-addressed store, hash-verified

73 .replace(/"/g, """)
74 .replace(/'/g, "'");
75}
76
77function codeTag(text: unknown): string {
78 return `<code>${htmlEscape(text)}</code>`;
79}
80
81// ========== 类型定义 ==========
82type TTSConfig = {
83 key: string;
84 region: string;
85 voice: string;

Callers 2

codeTagFunction · 0.70
TTSPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected