From e15acb3e7eb026c17fc4b767106f4ccb9b110506 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 29 Oct 2009 07:35:29 +0000 Subject: [PATCH] Fix XML parsing error in report generation if HTTP URL has a space in it --- chrome/content/zotero/xpcom/report.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/report.js b/chrome/content/zotero/xpcom/report.js index 0df9f1bde..ebf0d07bb 100644 --- a/chrome/content/zotero/xpcom/report.js +++ b/chrome/content/zotero/xpcom/report.js @@ -267,12 +267,12 @@ Zotero.Report = new function() { } // Append '&...' to the end if (shortened) { - fieldText += "&"; + fieldText += "&"; } } } - if (i == 'url' && firstSpace == -1) { + if (i == 'url') { fieldText = '' + escapeXML(fieldText) + ''; }