Do not escape existing HTML entities when citing note
This commit is contained in:
parent
2fd46157f3
commit
6d0067b806
1 changed files with 1 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ Zotero.Integration.Session.prototype._processNote = async function (item) {
|
|||
}
|
||||
}
|
||||
// Encode unicode chars
|
||||
text = text.replace(/[\u00A0-\u9999\&]/gim, function (i) {
|
||||
text = text.replace(/[\u00A0-\u9999]/gim, function (i) {
|
||||
return '&#'+i.charCodeAt(0)+';';
|
||||
});
|
||||
if (!text.startsWith('<html>')) {
|
||||
|
|
Loading…
Reference in a new issue