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

Method htmlEscape

xmsl/xmsl.ts:263–270  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

261 await this.db.write();
262 }
263 }
264
265 private removeThinkTags(text: string): string {
266 if (text.includes('<think>') && text.includes('</think>')) {
267 const match = text.match(/<\/think>\s*([\s\S]*?)$/);
268 if (match) {
269 return match[1].trim();
270 }
271 }
272 return text;
273 }

Callers 5

handleXmslMethod · 0.95
handleSetMethod · 0.95
showStatusMethod · 0.95
showConfigMethod · 0.95
askAIMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected