Provide option not to export notes

This commit is contained in:
Simon Kornblith 2011-05-27 19:44:02 +00:00
parent ba2f91d0d6
commit 16845352b3

View File

@ -8,9 +8,9 @@
"maxVersion":"",
"priority":200,
"configOptions":{"dataMode":"block"},
"displayOptions":{"exportCharset":"UTF-8", "exportFileData":false},
"displayOptions":{"exportCharset":"UTF-8", "exportNotes":true, "exportFileData":false},
"inRepository":true,
"lastUpdated":"2011-05-27 19:35:42"
"lastUpdated":"2011-05-27 19:42:10"
}
function detectImport() {
@ -2074,7 +2074,7 @@ function doExport() {
if(item.itemType == "webpage") {
writeField("howpublished", item.url);
}
if (item.notes) {
if (item.notes && Zotero.getOption("exportNotes")) {
for each (var note in item.notes) {
writeField("annote", Zotero.Utilities.unescapeHTML(note["note"]));
}