diff --git a/lib/utils/sanitization.js b/lib/utils/sanitization.js --- a/lib/utils/sanitization.js +++ b/lib/utils/sanitization.js @@ -134,7 +134,7 @@ function scrambleText(str: string): string { const arr = []; - for (const char of str) { + for (const char of new String(str)) { if (char === ' ') { arr.push(' '); continue;