commit 0d63137eba80301a0d96e24f7b650b6e981a6cb7 parent 5ec339c9df57d4fe348649e6e251be4df67d17c1 Author: Dan Stillman <dstillman@zotero.org> Date: Sun, 31 May 2009 06:39:07 +0000 Don't save HTML snapshot on JSTOR Diffstat:
| M | translators/JSTOR.js | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/translators/JSTOR.js b/translators/JSTOR.js @@ -98,8 +98,9 @@ function doWeb(doc, url) { delete item.notes; item.notes = undefined; } - item.attachments[0].title = item.title; - item.attachments[0].mimeType = "text/html"; + + // Don't save HTML snapshot from 'UR' tag + item.attachments = []; if (/stable\/(\d+)/.test(item.url)) { var localJid = RegExp.$1;