Indent translator metadata with tabs instead of spaces

This commit is contained in:
Simon Kornblith 2011-06-28 00:50:50 +00:00
parent ae59249206
commit 1cba396675

View File

@ -367,7 +367,7 @@ Zotero.Translators = new function() {
destFile.append(fileName);
// JSON.stringify (FF 3.5.4 and up) has the benefit of indenting JSON
var metadataJSON = JSON.stringify(metadata,null,8);
var metadataJSON = JSON.stringify(metadata, null, "\t");
var str = metadataJSON + "\n\n" + code;