From a726699b27603ffe3de2d71eafec847a25b0ddd5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 22 Apr 2016 00:01:37 -0400 Subject: [PATCH] Update citeproc-js to 1.1.99 --- chrome/content/zotero/xpcom/citeproc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js index 533a28eed..451d9e745 100644 --- 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 1 && isCollapsible) { + if (currentLabelInfo.label === values[j].label && currentLabelInfo.count > 1 && isCollapsible) { values[j].plural = 1; } values[j].numeric = currentLabelInfo.numeric;