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:
parent
57665c1f55
commit
cdf755b98a
|
@ -153,7 +153,7 @@ Zotero.Utilities.prototype.cleanTags = function(x) {
|
|||
* Certain entities can be inserted manually:
|
||||
*
|
||||
* <ZOTEROBREAK/> => <br/>
|
||||
* <ZOTEROHELLIP/> => …
|
||||
* <ZOTEROHELLIP/> => …
|
||||
*/
|
||||
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 '…';
|
||||
return '…';
|
||||
default:
|
||||
return p1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user