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

Function htmlEscape

qr/qr.ts:16–23  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

14
15const execFileAsync = promisify(execFile);
16
17// HTML转义函数
18// 检查并安装依赖
19async function ensureDependencies(): Promise<void> {
20 const missingDeps: string[] = [];
21
22 try {
23 await execFileAsync('which', ['qrencode']);
24 } catch (error) {
25 missingDeps.push('qrencode');
26 }

Callers 1

QRPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected