bible-verse-parser icon indicating copy to clipboard operation
bible-verse-parser copied to clipboard

Wrongly parses references that span across chapters.

Open twisp007 opened this issue 3 years ago • 0 comments

There are two cases:

  1. When the whole chapter is meant the parser only includes the first verse.

Eg: Lev. 18

output: bcv(3,18,1)

expected output: bcv(3,18,1,18,30)

  1. When reference spans two or more chapters it wrongly excludes the last chapter.

Eg: Lev. 17–18

output: bcv(3,17,1,18,1)

expected output: bcv(3,17,1,18,30)

twisp007 avatar Aug 26 '20 09:08 twisp007