Skip to content

Concatenating SSML documents resets the set language #37

@bklang

Description

@bklang
AHN> doc1 = RubySpeech::SSML.draw(language: 'it') { string "hi" }
=> <speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="it">hi</speak>
AHN> doc1 + RubySpeech::SSML.draw { string "there" }
=> <speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0" xml:lang="en-US">hi there</speak>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions