commit a726699b27603ffe3de2d71eafec847a25b0ddd5
parent 2ee6886cf1b0257f8a10843e45ca76c0f9c801fb
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 22 Apr 2016 00:01:37 -0400
Update citeproc-js to 1.1.99
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js
@@ -34,7 +34,7 @@ if (!Array.indexOf) {
};
}
var CSL = {
- PROCESSOR_VERSION: "1.1.98",
+ PROCESSOR_VERSION: "1.1.99",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
@@ -13370,7 +13370,7 @@ CSL.Engine.prototype.processNumber = function (node, ItemObject, variable, type)
isCollapsible = true;
}
for (var j=currentLabelInfo.pos,jlen=values.length; j<jlen; j++) {
- if (currentLabelInfo.count > 1 && isCollapsible) {
+ if (currentLabelInfo.label === values[j].label && currentLabelInfo.count > 1 && isCollapsible) {
values[j].plural = 1;
}
values[j].numeric = currentLabelInfo.numeric;