cleanInvalid
Stentor API Reference / stentor-utils/src / cleanInvalid
Function: cleanInvalid()
cleanInvalid(
outputSpeech):string
Defined in: packages/stentor-utils/src/ssml.ts:39
Removes any invalid characters for SSML
Note: This will need to be beefed up in the future.
https://github.com/mandnyc/ssml-builder/blob/master/index.js#L257
Parameters​
outputSpeech​
string
Returns​
string