diff --git a/chrome/content/zotero/xpcom/citeproc.js b/chrome/content/zotero/xpcom/citeproc.js index fc64f51060..be9a00e22d 100644 --- a/chrome/content/zotero/xpcom/citeproc.js +++ b/chrome/content/zotero/xpcom/citeproc.js @@ -2133,7 +2133,7 @@ CSL.DateParser = function () { }; CSL.Engine = function (sys, style, lang, forceLang) { var attrs, langspec, localexml, locale; - this.processor_version = "1.0.279"; + this.processor_version = "1.0.280"; this.csl_version = "1.0"; this.sys = sys; this.sys.xml = new CSL.System.Xml.Parsing(); @@ -10847,6 +10847,9 @@ CSL.Output.Formats.prototype.html = { }; CSL.Output.Formats.prototype.text = { "text_escape": function (text) { + if (!text) { + text = ""; + } return text; }, "bibstart": "", @@ -10898,6 +10901,9 @@ CSL.Output.Formats.prototype.text = { }; CSL.Output.Formats.prototype.rtf = { "text_escape": function (text) { + if (!text) { + text = ""; + } return text .replace(/([\\{}])/g, "\\$1", "g") .replace(CSL.SUPERSCRIPTS_REGEXP,