Skip to content

Commit

Permalink
Update citeproc-js to 1.1.233
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Apr 3, 2019
1 parent 0c1e84c commit 9e336ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chrome/content/zotero/xpcom/citeproc.js
Expand Up @@ -23,7 +23,7 @@ Copyright (c) 2009-2019 Frank Bennett
<http://www.gnu.org/licenses/> respectively.
*/
var CSL = {
PROCESSOR_VERSION: "1.1.232",
PROCESSOR_VERSION: "1.1.233",
LOCATOR_LABELS_REGEXP: new RegExp("^((art|ch|subch|col|fig|l|n|no|op|p|pp|para|subpara|supp|pt|r|sec|subsec|sv|sch|tit|vrs|vol)\\.)\\s+(.*)"),
STATUTE_SUBDIV_PLAIN_REGEX: /(?:(?:^| )(?:art|bk|ch|subch|col|fig|fol|l|n|no|op|p|pp|para|subpara|supp|pt|r|sec|subsec|sv|sch|tit|vrs|vol)\. *)/,
STATUTE_SUBDIV_PLAIN_REGEX_FRONT: /(?:^\s*[.,;]*\s*(?:art|bk|ch|subch|col|fig|fol|l|n|no|op|p|pp|para|subpara|supp|pt|r|sec|subsec|sv|sch|tit|vrs|vol)\. *)/,
Expand Down Expand Up @@ -13030,8 +13030,9 @@ CSL.Transform = function (state) {
breakMe = true;
}
} else {
if (hasVal && !variantMatch && firstValue) {
if (!variantMatch && firstValue) {
ret = firstValue;
field = fieldsToTry[0];
}
}
if (["title", "container-title"].indexOf(field) > -1) {
Expand Down

0 comments on commit 9e336ec

Please sign in to comment.