Revert translator JSON length limit, since some are at least 2.5K
This commit is contained in:
parent
c558111269
commit
b1c3a10f61
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user