Do not escape existing HTML entities when citing note

This commit is contained in:
Martynas Bagdonas 2021-06-04 11:40:47 +03:00
parent 2fd46157f3
commit 6d0067b806

View file

@ -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>')) {