From 0ce9b0997909e3af32aa76cdb7bb96219384a4fe Mon Sep 17 00:00:00 2001 From: Sebastian Dine Date: Thu, 19 Dec 2024 17:32:00 +0100 Subject: [PATCH] bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Card names with an à led to crashes when images were handled --- card-collection-manager-2/src-tauri/src/util/fs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/card-collection-manager-2/src-tauri/src/util/fs.rs b/card-collection-manager-2/src-tauri/src/util/fs.rs index f8e6012..3b42902 100644 --- a/card-collection-manager-2/src-tauri/src/util/fs.rs +++ b/card-collection-manager-2/src-tauri/src/util/fs.rs @@ -14,6 +14,7 @@ pub fn format_text_for_fs(text: &String) -> String { .replace(":", "-") .replace("&", "And") .replace("|", "Or") + .replace("á", "a") .replace("é", "e") .replace("í", "i") .replace("ó", "o")