commit abe266d74b46955b958ffe9561cc3e88b44aa7dd parent 3054a554befa571aa27cd073f41964ef23b931cd Author: Simon Kornblith <simon@simonster.com> Date: Sun, 7 Apr 2013 21:14:31 -0400 Recognize application/xhtml+xml as snapshot Diffstat:
| M | chrome/content/zotero/xpcom/translation/translate_item.js | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate_item.js b/chrome/content/zotero/xpcom/translation/translate_item.js @@ -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;