Skip to content

Commit

Permalink
bible refs with '.' as list separator return wrong chapterverserefere…
Browse files Browse the repository at this point in the history
…nce value
  • Loading branch information
OpenShift guest committed Jul 28, 2013
1 parent e9fb0bf commit 1d96af0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bible/bibleref.xml
Expand Up @@ -179,9 +179,9 @@
try
{
chapterversereference = split2.after
.replace(new RegExp(chapterseparator,'g'),':')
.replace(new RegExp(listseparator,'g'),',')
.replace(new RegExp(rangeseparator,'g'),'-');
.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 1d96af0

Please sign in to comment.