Provide option not to export notes
This commit is contained in:
parent
ba2f91d0d6
commit
16845352b3
|
@ -8,9 +8,9 @@
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":200,
|
"priority":200,
|
||||||
"configOptions":{"dataMode":"block"},
|
"configOptions":{"dataMode":"block"},
|
||||||
"displayOptions":{"exportCharset":"UTF-8", "exportFileData":false},
|
"displayOptions":{"exportCharset":"UTF-8", "exportNotes":true, "exportFileData":false},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2011-05-27 19:35:42"
|
"lastUpdated":"2011-05-27 19:42:10"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectImport() {
|
function detectImport() {
|
||||||
|
@ -2074,7 +2074,7 @@ function doExport() {
|
||||||
if(item.itemType == "webpage") {
|
if(item.itemType == "webpage") {
|
||||||
writeField("howpublished", item.url);
|
writeField("howpublished", item.url);
|
||||||
}
|
}
|
||||||
if (item.notes) {
|
if (item.notes && Zotero.getOption("exportNotes")) {
|
||||||
for each (var note in item.notes) {
|
for each (var note in item.notes) {
|
||||||
writeField("annote", Zotero.Utilities.unescapeHTML(note["note"]));
|
writeField("annote", Zotero.Utilities.unescapeHTML(note["note"]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user