Marak / say.js

TTS (text to speech) for node.js. send text from node.js to your speakers.
MIT License
1.48k stars 214 forks source link

It needs to escape text. #93

Open novogrammer opened 5 years ago

novogrammer commented 5 years ago

Hi, For the darwin platform, It needs to escape the text.

Usage: say [-v voice] [-o out] [-f in | message]

let text="-findex.js";
//say.speak(text);
say.speak('"'+text.replace(/"/g,'\\\"')+'"');
tlhunter commented 4 years ago

Related to #90