mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Remove dead contentType branch
Already handled in isCachedMIMEType().
This commit is contained in:
parent
dcf809961a
commit
b6ca3eac37
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue