Drop verse-number prefixes from scripture-sourced Matins readings
Deploy / deploy (push) Successful in 1m47s
Deploy / deploy (push) Successful in 1m47s
resolvePassages() prepended each verse's number ("1 Et factum est...")
when joining scripture verses into continuous reading text — visible
today in Job's Matins reading. Not wanted; join the verse text alone.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Je2mXNHoXmi1DS3xEL67rH
This commit is contained in:
@@ -70,11 +70,11 @@ export function resolvePassages(passages: ScriptureCitation[]): Partial<Record<L
|
||||
for (const citation of passages) {
|
||||
const verses = getScriptureVerses(citation.book, citation.chapter, citation.verses);
|
||||
const la = verses
|
||||
.map((v) => (v.text.la ? `${v.n} ${v.text.la}` : undefined))
|
||||
.map((v) => v.text.la)
|
||||
.filter((s): s is string => !!s)
|
||||
.join(' ');
|
||||
const en = verses
|
||||
.map((v) => (v.text.en ? `${v.n} ${v.text.en}` : undefined))
|
||||
.map((v) => v.text.en)
|
||||
.filter((s): s is string => !!s)
|
||||
.join(' ');
|
||||
if (la) laParagraphs.push(la);
|
||||
|
||||
Reference in New Issue
Block a user