From 32959de98be7c3610bdc5ec3fed2a4fbf08097be Mon Sep 17 00:00:00 2001 From: Michael Moore Date: Mon, 9 Sep 2024 16:46:41 -0500 Subject: [PATCH] fix(export,unreleased): fix malformed url crashes Inkscape when opening exported SVG --- src/renderer/src/lib/map/CountryBorders.svelte | 4 ++-- src/renderer/src/lib/map/OccupationPatternDefs.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/lib/map/CountryBorders.svelte b/src/renderer/src/lib/map/CountryBorders.svelte index 13a64bc..df65abb 100644 --- a/src/renderer/src/lib/map/CountryBorders.svelte +++ b/src/renderer/src/lib/map/CountryBorders.svelte @@ -121,9 +121,9 @@ {#each data.occupationBorders.filter((b) => b.occupied === border.countryId) as occupationBorder} {/each} diff --git a/src/renderer/src/lib/map/OccupationPatternDefs.svelte b/src/renderer/src/lib/map/OccupationPatternDefs.svelte index 05b419f..8b162d1 100644 --- a/src/renderer/src/lib/map/OccupationPatternDefs.svelte +++ b/src/renderer/src/lib/map/OccupationPatternDefs.svelte @@ -37,7 +37,7 @@ {#each data.occupationBorders as occupation}