www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit fb74fe76b7ac0ddfe91ad7e2b0d4f7a8128ce4ab
parent b397ee22811f9c97619f37f7abbc9427299d2e8d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  1 Dec 2017 02:10:05 -0500

Update citeproc-js to 1.1.181

Diffstat:
Mchrome/content/zotero/xpcom/citeproc.js | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js @@ -24,7 +24,7 @@ */ var CSL = { - PROCESSOR_VERSION: "1.1.180", + PROCESSOR_VERSION: "1.1.181", CONDITION_LEVEL_TOP: 1, CONDITION_LEVEL_BOTTOM: 2, PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/, @@ -3272,6 +3272,13 @@ CSL.Doppeler = function(rexStr, stringMangler) { }; } var split = str.split(splitRex); + for (var i=match.length-1; i> -1; i--) { + var tag = match[i]; + if (tag === "\'" && split[i+1].length > 0) { + split[i+1] = match[i] + split[i+1]; + match[i] = ""; + } + } return { tags: match, strings: split,