From 19e127f6ad285af744b9d7db898a25b362a9a630 Mon Sep 17 00:00:00 2001
From: x4dr <x4dr@users.noreply.github.com>
Date: Thu, 13 Jun 2024 16:38:48 +0000
Subject: [PATCH] fix DOMLoaded in code examples (#1204)

---
 quartz/plugins/transformers/description.ts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/quartz/plugins/transformers/description.ts b/quartz/plugins/transformers/description.ts
index 2ec8880..5900745 100644
--- a/quartz/plugins/transformers/description.ts
+++ b/quartz/plugins/transformers/description.ts
@@ -61,6 +61,7 @@
                 const currentSentence = sentence.endsWith(".") ? sentence : sentence + "."
                 finalDesc.push(currentSentence)
                 currentDescriptionLength += currentSentence.length
+                sentenceIdx++
               }
             }
 

--
Gitblit v1.10.0