diff --git a/src/lib/components/actions.svelte b/src/lib/components/actions.svelte index a119c4d5..802f2c46 100644 --- a/src/lib/components/actions.svelte +++ b/src/lib/components/actions.svelte @@ -13,7 +13,9 @@ if (!svg) { svg = document.querySelector('#container svg'); } - const svgString = svg.outerHTML.replaceAll('
', '
'); + const svgString = svg.outerHTML + .replaceAll('
', '
') + .replaceAll(/]*)>/g, (m, g) => ``); return toBase64(svgString); };