From 389f2e8beee35c60da9b343883d0e09ca92f821b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 11 Feb 2024 20:12:01 +0000
Subject: [PATCH] fix(ofm): allow diacretic marks in tag regex (closes #830)
---
quartz/plugins/transformers/links.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/quartz/plugins/transformers/links.ts b/quartz/plugins/transformers/links.ts
index 1ba0c8e..2d43be1 100644
--- a/quartz/plugins/transformers/links.ts
+++ b/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
--
Gitblit v1.10.0