Fix XML parsing error in report generation if HTTP URL has a space in it
This commit is contained in:
parent
455a1e65f1
commit
e15acb3e7e
1 changed files with 2 additions and 2 deletions
|
@ -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>';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue