You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling response.clear() completely resets the outputSpeech object on the json response. If one subsequently calls response.say('This was called after clear.'), the response json will look something like this
...
"outputSpeech": {
"type": "PlainText",
"text": "",
"ssml": "<speak>This was called after clear.</speak>"
}
...
Perhaps when calling response.say(), the outputSpeech type should be checked or re-assigned.
The text was updated successfully, but these errors were encountered:
Agreed. PlainText is a subset of SSML (simply wrapped in a speech tag). Perhaps .clear() should maintain that consistency and set the type to SSML instead of PlainText as .say() automatically puts all output in SSML. I'll submit a pull request.
rickwargo
added a commit
to rickwargo/alexa-app
that referenced
this issue
Aug 8, 2016
Calling
response.clear()
completely resets the outputSpeech object on the json response. If one subsequently callsresponse.say('This was called after clear.')
, the response json will look something like thisPerhaps when calling
response.say()
, the outputSpeech type should be checked or re-assigned.The text was updated successfully, but these errors were encountered: