Jacky Zhao
2024-02-11 ab0e20b4d0ad1e650126ffd0afa7d0ed6bd46da2
quartz/plugins/transformers/links.ts
@@ -4,7 +4,7 @@
  RelativeURL,
  SimpleSlug,
  TransformOptions,
  _stripSlashes,
  stripSlashes,
  simplifySlug,
  splitAnchor,
  transformLink,
@@ -115,7 +115,7 @@
                  }
                  // need to decodeURIComponent here as WHATWG URL percent-encodes everything
                  const full = decodeURIComponent(_stripSlashes(destCanonical, true)) as FullSlug
                  const full = decodeURIComponent(stripSlashes(destCanonical, true)) as FullSlug
                  const simple = simplifySlug(full)
                  outgoing.add(simple)
                  node.properties["data-slug"] = full