Skip to content

Commit

Permalink
adding chapterversereference
Browse files Browse the repository at this point in the history
  • Loading branch information
vicmortelmans committed Aug 23, 2012
1 parent 0ffd4ea commit 6ca11e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bible/bibleref.xml
Expand Up @@ -31,6 +31,7 @@
var chapterseparator;
var listseparator;
var rangeseparator;
var chapterversereference;
var bibleref;
var language;
Expand Down Expand Up @@ -121,6 +122,7 @@
return <bibleref>
<book>{book}</book>
<localbook>{localbook}</localbook>
<chapterversereference>{chapterversereference}</chapterversereference>
<chapter>{chapter}</chapter>
<verse>{verse}</verse>
<phrase>{phrase}</phrase>
Expand Down Expand Up @@ -194,6 +196,7 @@
}
}
}
chapterversereference = split2.after.replace(chapterseparator,':').replace(listseparator,',').replace(rangeseparator('-');
return parseResult;
}
function parse_list(mode,string)
Expand Down

0 comments on commit 6ca11e7

Please sign in to comment.