commit 775d39f93a7f72f0989575efd8a9dc7f36cb9a9b
parent 90485087ed7ac25aee61b9566aaa24e58c39e790
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 12 Oct 2016 13:22:15 -0400
Update citeproc-js to 1.1.138
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js
@@ -23,7 +23,7 @@
* <http://www.gnu.org/licenses/> respectively.
*/
var CSL = {
- PROCESSOR_VERSION: "1.1.137",
+ PROCESSOR_VERSION: "1.1.138",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
@@ -13549,7 +13549,7 @@ CSL.Engine.prototype.processNumber = function (node, ItemObject, variable, type)
info.plural = 0;
info.labelVisibility = false;
}
- var m = val.match(/^([a-zA-Z]0*)([0-9]+(?:[a-zA-Z]*|[-,a-zA-Z]+))$/);
+ var m = val.match(/^([a-zA-Z0]*)([0-9]+(?:[a-zA-Z]*|[-,a-zA-Z]+))$/);
if (m) {
info.particle = m[1];
info.value = m[2];