Skip to content

Commit 90c304e

Browse files
committed
ssml special chars
1 parent 82639e5 commit 90c304e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The Speech service automatically handles punctuation as appropriate, such as pau
7777

7878
## Special characters
7979

80-
To use the characters `&`, `<`, and `>` within the SSML text, you must use the entity format. 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.
80+
To use the characters `&`, `<`, and `>` within the SSML element's value or text, you must use the entity format. Specifically you must use `&amp;` in place of `&`, `&lt;` use in place of `<`, and use `&gt;` in place of `>`. Otherwise the SSML will not be parsed correctly.
8181

8282
For example, specify `green &amp; yellow` instead of `green & yellow`. The following SSML will be parsed as expected:
8383

@@ -91,7 +91,7 @@ For example, specify `green &amp; yellow` instead of `green & yellow`. The follo
9191

9292
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).
9393

94-
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.
94+
Attribute values must be enclosed by double or single quotation marks. For example, `<prosody volume="90">` and `<prosody volume='90'>` are well-formed, valid elements, but `<prosody volume=90>` won't be recognized.
9595

9696
## Speak root element
9797

0 commit comments

Comments
 (0)