From ad459f2adce30e4c3b42d45b6ea07a2235aa0567 Mon Sep 17 00:00:00 2001 From: Andrew Lovett-Barron Date: Tue, 9 Jul 2024 23:39:12 +0200 Subject: [PATCH] Maybe fix --- src/embed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/embed.ts b/src/embed.ts index e418c6e..2bcd9f3 100644 --- a/src/embed.ts +++ b/src/embed.ts @@ -34,7 +34,7 @@ export async function drawEmbedded( y: 5 + node.y + svg.properties.renHeight / 2, width: node.width - 10, height: node.height - 10, - "xlink:href": imgPath, + "xlink:href": `/${imgPath}`, }) grp.children.push(image)