From 64729211d1af24e48ba47734a8be0e14ce662ced Mon Sep 17 00:00:00 2001 From: Ryo KOBAYASHI Date: Sat, 20 Dec 2025 14:01:21 +0900 Subject: [PATCH] fix unicode string matching to use string.normalize(). --- quartz/util/path.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/util/path.ts b/quartz/util/path.ts index b95770159..3bc3460bd 100644 --- a/quartz/util/path.ts +++ b/quartz/util/path.ts @@ -241,7 +241,7 @@ export function transformLink(src: FullSlug, target: string, opts: TransformOpti const matchingFileNames = opts.allSlugs.filter((slug) => { const parts = slug.split("/") const fileName = parts.at(-1) - return targetCanonical === fileName + return targetCanonical.normalize() === fileName.normalize() }) // only match, just use it