Skip to content

Default to using SSML #12

@sjmog

Description

@sjmog

Wrap response text in a <speak> tag by default. This means that there will be no need to designate SSML usage: it'll 'just work':

respond("Hi there") # => "<speak>Hi there</speak>"
respond("<say-as interpret-as="spell-out">hello</say-as>") # => "<speak><say-as="spell-out">hello</say-as></speak>"

If the user writes SSML with <speak> tags, strip them out, as nested <speak> tags break Alexa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions