replaced trailing punctuation in verses with ellipses

This commit is contained in:
George Powell
2026-01-05 18:12:10 -05:00
parent 1b1bc7bd3c
commit ac1db94b0d
2 changed files with 17 additions and 3 deletions

View File

@@ -16,7 +16,9 @@
: dailyVerse.reference.replace(/^Psalms /, "Psalm ")
);
let displayVerseText = $derived(
dailyVerse.verseText.replace(/^([a-z])/, (c) => c.toUpperCase())
dailyVerse.verseText
.replace(/^([a-z])/, (c) => c.toUpperCase())
.replace(/[,:;-]$/, "...")
);
</script>