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.

Update index.tsx

Steven Tey65dccd533163
diff --git a/apps/web/lib/qr/index.tsx b/apps/web/lib/qr/index.tsx
index 83f6485a9e..9bbd35cd11 100644
--- a/apps/web/lib/qr/index.tsx
+++ b/apps/web/lib/qr/index.tsx
@@ -3,7 +3,6 @@
* Copyright (c) Paul O'Shannessy
* SPDX-License-Identifier: ISC
*/
-import { escape } from "html-escaper";
import { useEffect, useRef, useState } from "react";
import qrcodegen from "./codegen";
import {
@@ -191,7 +190,7 @@ export function getQRAsSVGDataUri(props: QRProps) {
if (calculatedImageSettings.excavation != null)
cells = excavateModules(cells, calculatedImageSettings.excavation);
image = [
- `<image href="${escape(imageSettings.src)}"`,
+ `<image href="${imageSettings.src}"`,
`height="${calculatedImageSettings.h}"`,
`width="${calculatedImageSettings.w}"`,
`x="${calculatedImageSettings.x + margin}"`,