diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index d92616665e..ce28fb20d7 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3725,11 +3725,6 @@ Zotero.defineProperty(Zotero.Item.prototype, 'attachmentText', { } } - else if (contentType == 'text/html') { - str = await Zotero.File.getContentsAsync(path); - str = Zotero.Utilities.unescapeHTML(str); - } - else if (contentType == 'text/plain') { str = await Zotero.File.getContentsAsync(path); }