Invalid characters after the first one in a string weren't being replaced
This commit is contained in:
parent
417dc32548
commit
049cead550
1 changed files with 1 additions and 1 deletions
|
@ -2291,6 +2291,6 @@ Zotero.Sync.Server.Data = new function() {
|
|||
|
||||
|
||||
function _xmlize(str) {
|
||||
return str.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\ud800-\udfff\ufffe\uffff]/, '');
|
||||
return str.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\ud800-\udfff\ufffe\uffff]/g, '');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue