From 1cba3966756b2a305eefe19f86ff2227258c1095 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 28 Jun 2011 00:50:50 +0000 Subject: [PATCH] Indent translator metadata with tabs instead of spaces --- chrome/content/zotero/xpcom/translation/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translator.js b/chrome/content/zotero/xpcom/translation/translator.js index f27a200987..c931f507f9 100644 --- a/chrome/content/zotero/xpcom/translation/translator.js +++ b/chrome/content/zotero/xpcom/translation/translator.js @@ -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;