Update citeproc-js to 1.1.181
This commit is contained in:
parent
b397ee2281
commit
fb74fe76b7
1 changed files with 8 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var CSL = {
|
var CSL = {
|
||||||
PROCESSOR_VERSION: "1.1.180",
|
PROCESSOR_VERSION: "1.1.181",
|
||||||
CONDITION_LEVEL_TOP: 1,
|
CONDITION_LEVEL_TOP: 1,
|
||||||
CONDITION_LEVEL_BOTTOM: 2,
|
CONDITION_LEVEL_BOTTOM: 2,
|
||||||
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
PLAIN_HYPHEN_REGEX: /(?:[^\\]-|\u2013)/,
|
||||||
|
@ -3272,6 +3272,13 @@ CSL.Doppeler = function(rexStr, stringMangler) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
var split = str.split(splitRex);
|
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 {
|
return {
|
||||||
tags: match,
|
tags: match,
|
||||||
strings: split,
|
strings: split,
|
||||||
|
|
Loading…
Add table
Reference in a new issue