Fix XML parsing error in reports using … for URL shortening

(I can't reproduce it, but … isn't defined in XML.)
This commit is contained in:
Dan Stillman 2008-06-25 05:54:35 +00:00
parent 57665c1f55
commit cdf755b98a

View File

@ -153,7 +153,7 @@ Zotero.Utilities.prototype.cleanTags = function(x) {
* Certain entities can be inserted manually:
*
* <ZOTEROBREAK/> => <br/>
* <ZOTEROHELLIP/> => &hellip;
* <ZOTEROHELLIP/> => &#8230;
*/
Zotero.Utilities.prototype.htmlSpecialChars = function(str) {
if (typeof str != 'string') {
@ -178,7 +178,7 @@ Zotero.Utilities.prototype.htmlSpecialChars = function(str) {
case 'BREAK':
return '<br/>';
case 'HELLIP':
return '&hellip;';
return '&#8230;';
default:
return p1;
}