Closed
Bug 1311531
Opened 9 years ago
Closed 9 years ago
SpeechSynthesisUtterance reading html code of single quote on windows
Categories
(Core :: Web Speech, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1279842
People
(Reporter: jongejan, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Steps to reproduce:
Only on Windows:
Calling SpeechSynthesisUtterance to read aloud a word with single quote (') in it
Code:
var textSingleQuote = "Single quote: You're"
var textApostrophe = "Apostrophe: You’re"
window.speechSynthesis.speak(new SpeechSynthesisUtterance(textSingleQuote))
window.speechSynthesis.speak(new SpeechSynthesisUtterance(textApostrophe))
Codepen: https://codepen.io/halfdanj/pen/KgAXXr
Actual results:
It reads aloud "and 39". Replacing the character with apostrophe works, but its the only browser i've experienced it in.
Expected results:
Should correctly read the word aloud
Update your Beta version, it's already fixed in 50+.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•