mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Recognize application/xhtml+xml as snapshot
This commit is contained in:
parent
3054a554be
commit
abe266d74b
1 changed files with 3 additions and 1 deletions
|
|
@ -336,7 +336,9 @@ Zotero.Translate.ItemSaver.prototype = {
|
|||
// Determine whether to save an attachment
|
||||
if(attachment.snapshot !== false) {
|
||||
if(attachment.document
|
||||
|| (attachment.mimeType && attachment.mimeType == "text/html")) {
|
||||
|| (attachment.mimeType &&
|
||||
(attachment.mimeType === "text/html"
|
||||
|| attachment.mimeType == "application/xhtml+xml"))) {
|
||||
if(!Zotero.Prefs.get("automaticSnapshots")) return;
|
||||
} else {
|
||||
if(!Zotero.Prefs.get("downloadAssociatedFiles")) return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue