Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs: add word boundary to Cards wrapper removal regex
Sushmitha Malleshb03306128402
diff --git a/docs/lib/source.ts b/docs/lib/source.tsindex 74a378c3b..1c8479378 100644--- a/docs/lib/source.ts+++ b/docs/lib/source.ts@@ -119,7 +119,7 @@ export function mdxToCleanMarkdown(content: string): string {// Remove Cards wrapper before processing individual Card tags// (prevents <Cards> from being matched by <Card regex since <Cards starts with <Card)- result = result.replace(/<\/?Cards[^>]*>/g, '');+ result = result.replace(/<\/?Cards\b[^>]*>/g, '');// Convert Card - handle multiline and various attribute orders// Self-closing Cards with description attribute