summaryrefslogtreecommitdiffhomepage
path: root/patches/[email protected]
blob: 36ac2befe9992cb527c60f0879e21644e9149a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/node_modules/marked-shiki/.bun-tag-5eae3435af8a0229 b/.bun-tag-5eae3435af8a0229
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/dist/index.js b/dist/index.js
index 535885e8569626d08f205e76c4944e4ebd0decab..92b5695c1b05fc7db5d26128c8f948d43c91f88a 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -4,7 +4,7 @@ function o(s = {}) {
     async: !0,
     async walkTokens(t) {
       if (t.type !== "code" || typeof e != "function") return;
-      const [a = "text", ...i] = t.lang.split(" "), { text: c } = t, r = await e(c, a, i), l = n ? n.replace("%l", String(a).toUpperCase()).replace("%s", r).replace("%t", c) : r;
+      const [a = "text", ...i] = t.lang?.split(" "), { text: c } = t, r = await e(c, a, i), l = n ? n.replace("%l", String(a).toUpperCase()).replace("%s", r).replace("%t", c) : r;
       Object.assign(t, {
         type: "html",
         block: !0,