Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for XML in text #17

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

rsegers
Copy link
Contributor

@rsegers rsegers commented Jul 15, 2021

Please consider the following PR. It is an extension of pull request #15 and addresses issue #14 .

The current PR allows for using XML tags inside the text, whilst also remaining backward compatible with a regular, non-xml formatted string.

For example, all of these work:

  • This is a regular, backwards compatible sentence
  • This is a sentence with a <break time="2s" /> long pause
  • <p>Sentence 1 in paragraph 1.</p><p>Sentence 2 in paragraph 2</p>
  • Test sentence for <prosody pitch="high">double prosody elements</prosody>

@jeroenterheerdt jeroenterheerdt merged commit 2ddaeba into jeroenterheerdt:master Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants