From ecb3d92941b7cae7ce222e2247c18918366207e4 Mon Sep 17 00:00:00 2001
From: Giuseppe Alfieri <150775639+giusalfieri@users.noreply.github.com>
Date: Sun, 07 Sep 2025 18:58:47 +0000
Subject: [PATCH] Fix: normalize chokidar paths for hot reload on Windows (#2120)

---
 quartz/util/emoji.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/util/emoji.ts b/quartz/util/emoji.ts
index 4d3434f..39f045c 100644
--- a/quartz/util/emoji.ts
+++ b/quartz/util/emoji.ts
@@ -37,7 +37,7 @@
     emojimap = data
   }
 
-  const name = emojimap.codePointToName[`U+${code.toUpperCase()}`]
+  const name = emojimap.codePointToName[`${code.toUpperCase()}`]
   if (!name) throw new Error(`codepoint ${code} not found in map`)
 
   const b64 = emojimap.nameToBase64[name]

--
Gitblit v1.10.0