Skip to content

Commit 13ddf8f

Browse files
authored
Merge b0c3146 into 86f79e6
2 parents 86f79e6 + b0c3146 commit 13ddf8f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

source/speech/speech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def processText(
181181
text = RE_CONVERT_WHITESPACE.sub(" ", text)
182182
if normalize:
183183
text = unicodeNormalize(text)
184-
return text.strip()
184+
return text.rstrip()
185185

186186

187187
def cancelSpeech():

user_docs/en/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ A warning message will inform you if you try writing to a non-empty directory. (
8181
* Support added for text review commands for an object's name in Visual Studio Code. (#16248, @Cary-Rowen)
8282
* In Mozilla Firefox, NVDA now correctly reports the current character, word and line when the cursor is at the insertion point at the end of a line. (#3156, @jcsteh)
8383
* Playing NVDA sounds no longer fails on a mono audio device. (#16770, @jcsteh)
84+
* Fixed a rare case with the OneCore synthesizer where NVDA would strip spaces from text, effectively resulting in malformed speech output. (#16772, @LeonarddeR)
8485

8586
### Changes for Developers
8687

0 commit comments

Comments
 (0)