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.

fix: fix SVG export

Snazzahfdc94a7a908e
diff --git a/lib/qr/index.tsx b/lib/qr/index.tsx
index 957983c7c9..c1cc4d98be 100644
--- a/lib/qr/index.tsx
+++ b/lib/qr/index.tsx
@@ -406,7 +406,7 @@ export function getQRAsSVGDataUri(props: QRProps) {
if (calculatedImageSettings.excavation != null)
cells = excavateModules(cells, calculatedImageSettings.excavation);
image = [
- `<image xlinkHref="${escape(imageSettings.src)}"`,
+ `<image href="${escape(imageSettings.src)}"`,
`height="${calculatedImageSettings.h}"`,
`width="${calculatedImageSettings.w}"`,
`x="${calculatedImageSettings.x + margin}"`,