diff --git a/src/vault-mcp/auth/consent-page.ts b/src/vault-mcp/auth/consent-page.ts index 61298e1..cde5f96 100644 --- a/src/vault-mcp/auth/consent-page.ts +++ b/src/vault-mcp/auth/consent-page.ts @@ -15,15 +15,15 @@ export const renderConsentPage = ({ requestId, error, }: ConsentPageParams): string => { - const esc = (s: string): string => - s + const escapeHtml = (text: string): string => + text .replace(/&/g, "&") .replace(//g, ">") .replace(/"/g, """) const scopeList = scopes.length - ? scopes.map((s) => `