From eee772d893a1f31729460bd062f7126b0d51b0a6 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 6 Feb 2011 21:51:07 +0000 Subject: [PATCH] - closes #1778: Zotero.Cite.makeFormattedBibliography throws an error when citeproc-js output contains   - update to citeproc-js 1.0.109 From Frank's release notes: Use numeric rather than named entities when producing HTML, to avoid error if the output is processed as XML in an environment in which named entities have not been declared. --- 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 cb9453da83..902f3d0b80 100644 --- a/chrome/content/zotero/xpcom/citeproc.js +++ b/chrome/content/zotero/xpcom/citeproc.js @@ -1732,7 +1732,7 @@ CSL.DateParser = function (txt) { }; CSL.Engine = function (sys, style, lang, forceLang) { var attrs, langspec, localexml, locale; - this.processor_version = "1.0.108"; + this.processor_version = "1.0.109"; this.csl_version = "1.0"; this.sys = sys; this.sys.xml = new CSL.System.Xml.Parsing(); @@ -8215,7 +8215,7 @@ CSL.Output.Formatters.serializeItemAsRdfA = function (Item) { CSL.Output.Formats = function () {}; CSL.Output.Formats.prototype.html = { "text_escape": function (text) { - return text.replace(/&/g, "&").replace(//g, ">").replace(" ", "  ", "g"); + return text.replace(/&/g, "&").replace(//g, ">").replace(" ", "  ", "g"); }, "bibstart": "
\n", "bibend": "
",