Remove dead contentType branch

Already handled in isCachedMIMEType().
This commit is contained in:
Abe Jellinek 2025-01-23 17:56:32 -05:00
parent dcf809961a
commit b6ca3eac37

View file

@ -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);
}