From 71a0fe349344ffa1ebe84af645ee3ee675e23a42 Mon Sep 17 00:00:00 2001
From: thepaperpilot <thepaperpilot@gmail.com>
Date: Sat, 1 Jun 2024 23:54:34 -0500
Subject: [PATCH] Fix not all id lines being removed

---
 build_garden.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build_garden.js b/build_garden.js
index 5388731a6..25fa0a8fd 100644
--- a/build_garden.js
+++ b/build_garden.js
@@ -91,8 +91,8 @@ function toSlug(string) {
         	(_, id) => blockRefs[id]);
 		// Remove id:: lines
         data = data.replaceAll(
-            /- (.*)\n\s*id:: (.*)/gm,
-            '- <span id="$2">$1</span>');
+            /(.*)\n\s*id:: (.*)/gm,
+            '<span id="$2">$1</span>');
         // Fix internal links with spaces not getting mapped
         data = data.replaceAll(
             /\[\[([^\[\]]*)\]\]/g,