diff options
-rw-r--r-- | src/content/dependencies/transformContent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index 34f37261..d40f15f2 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(/^[.,;:?!…]+(?=.*[a-z])/i); + const match = text.match(/^[.,;:?!…]+(?=[^\n]*[a-z])/i); const suffix = match?.[0]; if (suffix) { template.setSlot('suffixNormalContent', suffix); |