diff --git a/frontend/src/ts/test/words-generator.ts b/frontend/src/ts/test/words-generator.ts index 00e31ebe29b3..a99fa329f810 100644 --- a/frontend/src/ts/test/words-generator.ts +++ b/frontend/src/ts/test/words-generator.ts @@ -663,7 +663,7 @@ export async function generateWords( const sectionFinishedAndOverLimit = currentSection.length === 0 && sectionIndex >= CustomText.getLimitValue(); - if (sectionFinishedAndOverLimit) { + if (sectionFinishedAndOverLimit || ret.words.length >= 100) { stop = true; } } else if (ret.words.length >= limit) {