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.

added unescape

Steven Teyb27941652d3e
diff --git a/pages/_proxy/[domain]/[key].tsx b/pages/_proxy/[domain]/[key].tsx
index 9276c7f0d5..8dc8f16d78 100644
--- a/pages/_proxy/[domain]/[key].tsx
+++ b/pages/_proxy/[domain]/[key].tsx
@@ -21,7 +21,7 @@ export default function LinkPage({
<meta property="og:image" content={unescape(image)} />
<meta
property="og:image:alt"
- content={`OG image for ${title} (${shortLink})`}
+ content={`OG image for ${unescape(title)} (${shortLink})`}
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content={unescape(fullDomain)} />
@@ -30,7 +30,7 @@ export default function LinkPage({
<meta name="twitter:image" content={unescape(image)} />
<meta
property="twitter:image:alt"
- content={`OG image for ${title} (${shortLink})`}
+ content={`OG image for ${unescape(title)} (${shortLink})`}
/>
<meta charSet="utf-8" />
<link