From 4f3394dea6bbbba8236dc5668a667b619df1373b Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 22 Mar 2012 06:07:57 +0800 Subject: [PATCH] Upgrade citeproc-js to version 1.0.305 --- chrome/content/zotero/xpcom/citeproc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js index 44a3cf840b..c0904bb0d6 100644 --- 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]) {