From 5ec61468d5e787b3c8ae32a2b4ef1595cf0bc3ee Mon Sep 17 00:00:00 2001
From: Emile Bangma <ewjbangma@hotmail.com>
Date: Sun, 31 Mar 2024 16:44:50 +0000
Subject: [PATCH] fix(wikilinks): proper escaping of pipe character in wikilinks inside tables (#1040)
---
quartz/util/path.test.ts | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/quartz/util/path.test.ts b/quartz/util/path.test.ts
index 16e0311..7e9c4c8 100644
--- a/quartz/util/path.test.ts
+++ b/quartz/util/path.test.ts
@@ -105,8 +105,10 @@
["index.md", "index"],
["test.mp4", "test.mp4"],
["note with spaces.md", "note-with-spaces"],
- ["test/special chars?.md", "test/special-chars-q"],
+ ["notes.with.dots.md", "notes.with.dots"],
+ ["test/special chars?.md", "test/special-chars"],
["test/special chars #3.md", "test/special-chars-3"],
+ ["cool/what about r&d?.md", "cool/what-about-r-and-d"],
],
path.slugifyFilePath,
path.isFilePath,
--
Gitblit v1.10.0