diff --git a/src/extensions/scratch3_text2speech/index.js b/src/extensions/scratch3_text2speech/index.js index c1dfd9555..43dd69bd7 100644 --- a/src/extensions/scratch3_text2speech/index.js +++ b/src/extensions/scratch3_text2speech/index.js @@ -465,7 +465,7 @@ class Scratch3Text2SpeechBlocks { // @todo localize this? if (state.voiceId === KITTEN_ID) { - words = words.replace(/\w+/g, 'meow'); + words = words.replace(/\S+/g, 'meow'); } // Build up URL