Skip to content

Commit

Permalink
*Add custom exception for parsing
Browse files Browse the repository at this point in the history
*Fix off-by-one error
*Handle triplicate, quadruplicate, n-plicate verses
*Add test to cover triplicate verse
  • Loading branch information
Enkidu93 committed Jul 25, 2024
1 parent 39df17e commit 27180f4
Show file tree
Hide file tree
Showing 5 changed files with 414 additions and 370 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public override void Verse(
string pubNumber
)
{
if (state.VerseRef.Equals(_curVerseRef))
if (state.VerseRef.Equals(_curVerseRef) && !_duplicateVerse)
{
EndVerseText(state, CreateVerseRefs());
// ignore duplicate verses
Expand Down
Loading

0 comments on commit 27180f4

Please sign in to comment.