diff --git a/quartz/plugins/transformers/links.ts b/quartz/plugins/transformers/links.ts index d9c9c7c..7d99272 100644 --- a/quartz/plugins/transformers/links.ts +++ b/quartz/plugins/transformers/links.ts @@ -63,7 +63,8 @@ export const CrawlLinks: QuartzTransformerPlugin | 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) }