Update citeproc-js to 1.1.175
This commit is contained in:
parent
8e365298ba
commit
879ed11b69
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
|||
*/
|
||||
'use strict'
|
||||
var CSL = {
|
||||
PROCESSOR_VERSION: "1.1.174",
|
||||
PROCESSOR_VERSION: "1.1.175",
|
||||
CONDITION_LEVEL_TOP: 1,
|
||||
CONDITION_LEVEL_BOTTOM: 2,
|
||||
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
||||
|
@ -3911,7 +3911,7 @@ CSL.Output.Queue.prototype.string = function (state, myblobs, blob) {
|
|||
}
|
||||
ret = ret.concat(addtoret);
|
||||
}
|
||||
if (blobjr.strings.first_blob) {
|
||||
if (blobjr.strings.first_blob && state.registry.registry[blobjr.strings.first_blob]) {
|
||||
state.registry.registry[blobjr.strings.first_blob].offset = state.tmp.offset_characters;
|
||||
state.tmp.count_offset_characters = false;
|
||||
}
|
||||
|
@ -5846,7 +5846,7 @@ CSL.citeStart = function (Item, item, blockShadowNumberReset) {
|
|||
this.tmp.authority_stop_last = 0;
|
||||
};
|
||||
CSL.citeEnd = function (Item, item) {
|
||||
if (this.tmp.disambig_restore) {
|
||||
if (this.tmp.disambig_restore && this.registry.registry[Item.id]) {
|
||||
this.registry.registry[Item.id].disambig.names = this.tmp.disambig_restore.names.slice();
|
||||
this.registry.registry[Item.id].disambig.givens = this.tmp.disambig_restore.givens.slice();
|
||||
for (var i=0,ilen=this.registry.registry[Item.id].disambig.givens.length;i<ilen;i+=1) {
|
||||
|
|
Loading…
Reference in a new issue