From 3bfc422ce08a3eb082cf2eea9ab2e3b56d1be9b0 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Fri, 14 Dec 2018 17:28:45 -0500 Subject: [PATCH] Replace all non-space chars with meow --- src/extensions/scratch3_text2speech/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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