From 853dd7ea8811b823d4fc4f2fa14fa3ac44b5416f Mon Sep 17 00:00:00 2001
From: "(quasar) nebula" <qznebula@protonmail.com>
Date: Thu, 20 Mar 2025 21:25:53 -0300
Subject: content: transformContent: search for words before absorbing

---
 src/content/dependencies/transformContent.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/content/dependencies/transformContent.js')

diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index f61865bb..bdfcbeb5 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -264,7 +264,7 @@ export default {
           }
 
           const text = nextNode.data;
-          const match = text.match(/^[.,;:?!…]+/);
+          const match = text.match(/^[.,;:?!…]+(?=.*[a-z])/i);
           const suffix = match?.[0];
           if (suffix) {
             template.setSlot('suffixNormalContent', suffix);
-- 
cgit 1.3.0-6-gf8a5