fixed broken CJK links (#390)

This commit is contained in:
tomoyanonymous authored and GitHub committed 2023-08-22 09:16:55 -07:00
1 parent dc208c9905
commit c6f05d56a4
1 file changed
+2 -1
+2 -1
View File
@@ -63,7 +63,8 @@ export const CrawlLinks: QuartzTransformerPlugin<Partial<Options> | undefined> =
const url = new URL(dest, `https://base.com/${curSlug}`)
const canonicalDest = url.pathname
const [destCanonical, _destAnchor] = splitAnchor(canonicalDest)
const simple = simplifySlug(destCanonical as FullSlug)
const simple = decodeURI(simplifySlug(destCanonical as FullSlug)) as SimpleSlug
outgoing.add(simple)
}