From b1c3a10f6126712a831d066ce107cbe98ff112c6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 28 Apr 2010 22:00:48 +0000 Subject: [PATCH] Revert translator JSON length limit, since some are at least 2.5K --- chrome/content/zotero/xpcom/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js index a2d62a796..f10a6029c 100644 --- a/chrome/content/zotero/xpcom/translate.js +++ b/chrome/content/zotero/xpcom/translate.js @@ -228,7 +228,7 @@ Zotero.Translators = new function() { */ Zotero.Translator = function(file) { // Maximum length for the info JSON in a translator - const MAX_INFO_LENGTH = 1024; + const MAX_INFO_LENGTH = 4096; const infoRe = /{(?:(?:"(?:[^"\r\n]*(?:\\")?)*")*[^}"]*)*}/; this.file = file;