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)