commit e15acb3e7eb026c17fc4b767106f4ccb9b110506
parent 455a1e65f1dc97917f19a1a66282edbc75b52e99
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 29 Oct 2009 07:35:29 +0000
Fix XML parsing error in report generation if HTTP URL has a space in it
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 += "&<ZOTEROHELLIP/>";
+ fieldText += "&<ZOTEROHELLIP/>";
}
}
}
- if (i == 'url' && firstSpace == -1) {
+ if (i == 'url') {
fieldText = '<a href="' + escapeXML(arr[i]) + '">'
+ escapeXML(fieldText) + '</a>';
}