diff --git a/qt/ts/src/reviewer.ts b/qt/ts/src/reviewer.ts index bf27039c9..4a854228d 100644 --- a/qt/ts/src/reviewer.ts +++ b/qt/ts/src/reviewer.ts @@ -42,7 +42,9 @@ function _updateQA(html, fadeTime, onupdate, onshown) { qa.html( "Invalid HTML on card: " + err + - ("\n" + err.stack).replace(/\n/g, "
") + ("\n" + err.stack) + .substring(0, 2000) + .replace(/\n/g, "
") ); } _runHook(onUpdateHook);