Skip to content

Commit

Permalink
Update src/verse/BaseVerseFormatter.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tim <[email protected]>
  • Loading branch information
abbasou and tim-hub authored May 13, 2024
1 parent b9c624c commit eb9777e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verse/BaseVerseFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export abstract class BaseVerseFormatter {
text +=
' ' + verseNumberFormatted + verse.text.trim().replaceAll('\n', ' ')
} else {
text += '> ' + verseNumberFormatted + verse.text.replace(/\r\n|\n|\r/g, " ") + "\n" // Remove extraneous line breaks in KJV verses.
text += '> ' + verseNumberFormatted + verse.text.trim().replace(/\r\n|\n|\r/g, " ") + "\n" // Remove extraneous line breaks in KJV verses.
}
})
console.debug('text', text)
Expand Down

0 comments on commit eb9777e

Please sign in to comment.