Opened 6 years ago

Closed 6 years ago

#1778 closed enhancement (fixed)

Zotero.Cite.makeFormattedBibliography throws an error when citeproc-js output contains  

Reported by: simon Owned by: dstillman
Priority: critical Milestone: 2.1 Final
Component: export Version: 2.1
Keywords: Cc:

Description

e.g.:

Error: unknown XML entity nbsp
Source File:
Line: 2, Column: 102
Source Code:

<div class="csl-entry">Palter, R. (1970). <i>The Annus mirabilis of Sir Isaac Newton, 1666-1966.</i> Cambridge&nbsp; Mass. M.I.T. Press.</div>

Change History (1)

comment:1 Changed 6 years ago by simon

  • Resolution set to fixed
  • Status changed from new to closed

(In [8009]) - closes #1778: Zotero.Cite.makeFormattedBibliography throws an error when citeproc-js output contains &nbsp;

  • 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.

Note: See TracTickets for help on using tickets.