Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

make markdown links open in new tab

Steven Tey4ccbd6dc5575
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
index e7ce7c3112..6d43999f33 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
@@ -220,6 +220,16 @@ export default function IntegrationPageClient({
"prose-headings:leading-tight",
"prose-a:font-medium prose-a:text-gray-500 prose-a:underline-offset-4 hover:prose-a:text-black",
)}
+ components={{
+ a: ({ node, ...props }) => (
+ <a
+ {...props}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="text-gray-500 underline"
+ />
+ ),
+ }}
>
{integration.readme}
</Markdown>