commit 4f3394dea6bbbba8236dc5668a667b619df1373b
parent ec681f0aa31d33808e878a9ed80d16091a193d68
Author: Frank <biercenator@gmail.com>
Date: Thu, 22 Mar 2012 06:07:57 +0800
Upgrade citeproc-js to version 1.0.305
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js
@@ -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]) {