Skip to content

Commit 92a080d

Browse files
committed
special chars
1 parent 8b533bd commit 92a080d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/cognitive-services/Speech-Service/speech-synthesis-markup-structure.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ Some examples of contents that are allowed in each element are described in the
7575

7676
The Speech service automatically handles punctuation as appropriate, such as pausing after a period, or using the correct intonation when a sentence ends with a question mark.
7777

78+
## Special characters
79+
80+
You must use the entity format for the characters `&`, `<`, and `>`. Specifically you must use `&amp;` in place of `&`, `&lt;` in place of `<`, and `&gt;` in place of `>`. Otherwise the SSML will not be parsed correctly.
81+
7882
Special characters such as quotation marks, apostrophes, and brackets, must be escaped. For more information, see [Extensible Markup Language (XML) 1.0: Appendix D](https://www.w3.org/TR/xml/#sec-entexpand).
7983

8084
Attribute values must be enclosed by double quotation marks. For example, `<prosody volume="90">` is a well-formed, valid element, but `<prosody volume=90>` won't be recognized.

0 commit comments

Comments
 (0)