From 52460f376f79cd4640b8ed8a1343acaf02bf90aa Mon Sep 17 00:00:00 2001
From: FishCat233 <50800434+FishCat233@users.noreply.github.com>
Date: Thu, 16 Oct 2025 16:10:25 +0000
Subject: [PATCH] fix: modified time data of frontmatter didnt loaded. (#2165)
---
quartz/util/escape.ts | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/quartz/util/escape.ts b/quartz/util/escape.ts
index 197558c..ac59cc7 100644
--- a/quartz/util/escape.ts
+++ b/quartz/util/escape.ts
@@ -6,3 +6,12 @@
.replaceAll('"', """)
.replaceAll("'", "'")
}
+
+export const unescapeHTML = (html: string) => {
+ return html
+ .replaceAll("&", "&")
+ .replaceAll("<", "<")
+ .replaceAll(">", ">")
+ .replaceAll(""", '"')
+ .replaceAll("'", "'")
+}
--
Gitblit v1.10.0