Upgrade citeproc-js to version 1.0.305
This commit is contained in:
parent
ec681f0aa3
commit
4f3394dea6
1 changed files with 2 additions and 2 deletions
|
@ -2156,7 +2156,7 @@ CSL.DateParser = function () {
|
|||
};
|
||||
CSL.Engine = function (sys, style, lang, forceLang) {
|
||||
var attrs, langspec, localexml, locale;
|
||||
this.processor_version = "1.0.304";
|
||||
this.processor_version = "1.0.305";
|
||||
this.csl_version = "1.0";
|
||||
this.sys = sys;
|
||||
this.sys.xml = new CSL.System.Xml.Parsing();
|
||||
|
@ -7939,7 +7939,7 @@ CSL.Attributes["@variable"] = function (state, arg) {
|
|||
}
|
||||
if (Item[variable]) {
|
||||
for (var key in Item[variable]) {
|
||||
if (this.dateparts.indexOf(key) === -1) {
|
||||
if (this.dateparts.indexOf(key) === -1 && "literal" !== key) {
|
||||
continue;
|
||||
}
|
||||
if (Item[variable][key]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue