Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add default empty-string value for missing splice delimiter
  • Loading branch information
fbennett committed Mar 18, 2017
1 parent b966deb commit 7c2ef5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api_cite.js
Expand Up @@ -885,6 +885,9 @@ CSL.getSpliceDelimiter = function (last_collapsed, pos) {
if (alt_affixes && alt_affixes.delimiter) {
this.tmp.splice_delimiter = alt_affixes.delimiter;
}
} else if (!this.tmp.splice_delimiter) {
// This happens when no delimiter is set on cs:layout under cs:citation
this.tmp.splice_delimiter = "";
}
// Paranoia
//if (!this.tmp.splice_delimiter) {
Expand Down

0 comments on commit 7c2ef5c

Please sign in to comment.