From 2d727443b3cc716ea057a897f588e2c563102d5c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 29 Jan 2024 17:36:36 +0000
Subject: [PATCH] fix: implement regex fix for alt in image wikilinks (closes #753)
---
quartz/components/Explorer.tsx | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/quartz/components/Explorer.tsx b/quartz/components/Explorer.tsx
index e3ed9b1..fdfff23 100644
--- a/quartz/components/Explorer.tsx
+++ b/quartz/components/Explorer.tsx
@@ -69,9 +69,8 @@
}
// Get all folders of tree. Initialize with collapsed state
- const folders = fileTree.getFolderPaths(opts.folderDefaultState === "collapsed")
-
// Stringify to pass json tree as data attribute ([data-tree])
+ const folders = fileTree.getFolderPaths(opts.folderDefaultState === "collapsed")
jsonTree = JSON.stringify(folders)
}
--
Gitblit v1.10.0