From cdf755b98add377ddcd055cb90608d644e0d5fd8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 25 Jun 2008 05:54:35 +0000 Subject: [PATCH] Fix XML parsing error in reports using … for URL shortening (I can't reproduce it, but … isn't defined in XML.) --- chrome/content/zotero/xpcom/utilities.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index d03e20be9..23a7cd48e 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -153,7 +153,7 @@ Zotero.Utilities.prototype.cleanTags = function(x) { * Certain entities can be inserted manually: * * =>
- * => … + * => … */ Zotero.Utilities.prototype.htmlSpecialChars = function(str) { if (typeof str != 'string') { @@ -178,7 +178,7 @@ Zotero.Utilities.prototype.htmlSpecialChars = function(str) { case 'BREAK': return '
'; case 'HELLIP': - return '…'; + return '…'; default: return p1; }