Skip to content

Commit

Permalink
Update citeproc-js to 1.1.200
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Apr 3, 2018
1 parent 6a46547 commit 8c30bc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chrome/content/zotero/xpcom/citeproc.js
Expand Up @@ -24,7 +24,7 @@
*/

var CSL = {
PROCESSOR_VERSION: "1.1.198",
PROCESSOR_VERSION: "1.1.200",
CONDITION_LEVEL_TOP: 1,
CONDITION_LEVEL_BOTTOM: 2,
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
Expand Down Expand Up @@ -15036,7 +15036,8 @@ CSL.Util.FlipFlopper = function(state) {
if (str.slice(0, 1) === " " && !str.match(/^\s+[\'\"]/)) {
leadingSpace = true;
}
var str = " " + str;
var rex = new RegExp("(" + CSL.ROMANESQUE_REGEXP.source + ")\u2019(" + CSL.ROMANESQUE_REGEXP.source + ")", "g")
var str = " " + str.replace(rex, "$1\'$2");
var doppel = _doppelString(str);
if (doppel.tags.length === 0) return;
var quoteFormSeen = false;
Expand Down

0 comments on commit 8c30bc9

Please sign in to comment.