Skip to content

Commit

Permalink
Update citeproc-js to 1.1.181
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Dec 1, 2017
1 parent b397ee2 commit fb74fe7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion chrome/content/zotero/xpcom/citeproc.js
Expand Up @@ -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)/,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit fb74fe7

Please sign in to comment.