Skip to content

Commit

Permalink
fixing chapterversereference output when spanning chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenShift guest committed Jul 22, 2013
1 parent 55e6ea5 commit e9fb0bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bible/bibleref.xml
Expand Up @@ -178,7 +178,10 @@
{
try
{
chapterversereference = split2.after.replace(chapterseparator,':').replace(listseparator,',').replace(rangeseparator,'-');
chapterversereference = split2.after
.replace(new RegExp(chapterseparator,'g'),':')
.replace(new RegExp(listseparator,'g'),',')
.replace(new RegExp(rangeseparator,'g'),'-');
parseResult = parse_list("explicit",split2.after);
parseSuccess = 1;
}
Expand Down

0 comments on commit e9fb0bf

Please sign in to comment.