We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c21ca9 commit 975b1b2Copy full SHA for 975b1b2
1 file changed
docs/index.html
@@ -1538,7 +1538,7 @@ <h3 id="panel-heading">Contents</h3>
1538
? ch.text.slice(state.charOffset)
1539
: ch.text;
1540
1541
- const utter = new SpeechSynthesisUtterance(text);
+ const utter = new SpeechSynthesisUtterance(text.replace(/\n+/g, ' '));
1542
utter.rate = state.speed;
1543
if (state.voice) utter.voice = state.voice;
1544
state.wordIndex = 0;
0 commit comments