We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0221bd commit 1ef309fCopy full SHA for 1ef309f
NVDA-addon/addon/globalPlugins/MathCAT/MathCAT.py
@@ -87,7 +87,11 @@ def ConvertSSMLTextForNVDA(text, language=""):
87
elif m.lastgroup == "phonemeText":
88
out.append(PhonemeCommand(m.group("ipa"), text=m.group("phonemeText")))
89
elif m.lastgroup == "content":
90
+ # MathCAT puts out spaces between words, but the previous pattern might eat it, so we put it back if needed
91
+ if not(m.group(0).startswith(" ")):
92
+ out.append(" ")
93
out.append(m.group(0))
94
+
95
if language:
96
out.append(LangChangeCommand(None))
97
return out
0 commit comments