Update citeproc-js to 1.1.200
This commit is contained in:
parent
89d7dad126
commit
3b17681db3
|
@ -24,7 +24,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var CSL = {
|
var CSL = {
|
||||||
PROCESSOR_VERSION: "1.1.199",
|
PROCESSOR_VERSION: "1.1.200",
|
||||||
CONDITION_LEVEL_TOP: 1,
|
CONDITION_LEVEL_TOP: 1,
|
||||||
CONDITION_LEVEL_BOTTOM: 2,
|
CONDITION_LEVEL_BOTTOM: 2,
|
||||||
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
||||||
|
@ -15036,7 +15036,8 @@ CSL.Util.FlipFlopper = function(state) {
|
||||||
if (str.slice(0, 1) === " " && !str.match(/^\s+[\'\"]/)) {
|
if (str.slice(0, 1) === " " && !str.match(/^\s+[\'\"]/)) {
|
||||||
leadingSpace = true;
|
leadingSpace = true;
|
||||||
}
|
}
|
||||||
var str = " " + str.replace(/([A-Za-z])’([A-Za-z])/g, "$1\'$2");
|
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);
|
var doppel = _doppelString(str);
|
||||||
if (doppel.tags.length === 0) return;
|
if (doppel.tags.length === 0) return;
|
||||||
var quoteFormSeen = false;
|
var quoteFormSeen = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user