From a51c85b3244a10ee36963dd6e4836c76f3f2793b Mon Sep 17 00:00:00 2001
From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Date: Tue, 25 Jun 2024 20:27:35 +0530
Subject: [PATCH] fix: remove deprecated xlink usages (#79)
---
src/processing/svg.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/processing/svg.ts b/src/processing/svg.ts
index 3cdcbdd..a7fdc2b 100644
--- a/src/processing/svg.ts
+++ b/src/processing/svg.ts
@@ -1,7 +1,7 @@
import type { BadgePreset, Sponsor, SponsorkitRenderOptions, Sponsorship } from '../types'
export function genSvgImage(x: number, y: number, size: number, url: string) {
- return ``
+ return ``
}
export function generateBadge(
@@ -29,7 +29,7 @@ export function generateBadge(
: sponsor.avatarUrlHighRes
) || sponsor.avatarUrl
- return `
+ return `
${preset.name
? `
`
@@ -88,7 +88,7 @@ export class SvgComposer {
}
generateSvg() {
- return `