mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-23 04:44:05 -06:00
Merge 64729211d1 into 9c042dd717
This commit is contained in:
commit
5842770935
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user