[orca: 1/2] speech: Do not escape ' and " for now
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca: 1/2] speech: Do not escape ' and " for now
- Date: Mon, 23 Jul 2018 15:03:32 +0000 (UTC)
commit b0ae234c334ab37cb7731491c261db128d18931e
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date: Mon Jul 23 11:41:22 2018 +0200
speech: Do not escape ' and " for now
speech-dispatcher 0.8.8 does not parse them correctly, later versions
will.
src/orca/speechdispatcherfactory.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index 1924ba548..5ebbdeb72 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -398,10 +398,11 @@ class SpeechServer(speechserver.SpeechServer):
else:
ssml += '<mark name="%u"/>' % marks_offsets[i]
i += 1
- elif c == '"':
- ssml += '"'
- elif c == "'":
- ssml += '''
+ # Disable for now, until speech dispatcher properly parses them (version 0.8.9 or later)
+ #elif c == '"':
+ # ssml += '"'
+ #elif c == "'":
+ # ssml += '''
elif c == '<':
ssml += '<'
elif c == '>':
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]