From 9b6e52f772e70a8fb36d40a86e6375bf9e1875e1 Mon Sep 17 00:00:00 2001
From: Natsuu <natsukawa247@outlook.com>
Date: Wed, 14 Jan 2026 04:57:04 +0000
Subject: feat: enhance search functionality by trimming and replacing
 characters in search query

---
 ui/src/components/VersionsView.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ui/src/components/VersionsView.svelte')

diff --git a/ui/src/components/VersionsView.svelte b/ui/src/components/VersionsView.svelte
index 1f72d32..81f2379 100644
--- a/ui/src/components/VersionsView.svelte
+++ b/ui/src/components/VersionsView.svelte
@@ -5,7 +5,7 @@
 
   let filteredVersions = $derived(
     gameState.versions.filter((v) =>
-      v.id.toLowerCase().includes(searchQuery.toLowerCase())
+      v.id.toLowerCase().includes(searchQuery.trim().toLowerCase().replace("。", "."))
     )
   );
 </script>
-- 
cgit v1.2.3-70-g09d2

