tts-server-android
tts-server-android copied to clipboard
Fix EdgeTts xml escaping
I am hearing the TTS saying &apos when it tries to read a ' I took a look at https://github.com/rany2/edge-tts/blob/master/src/edge_tts/communicate.py#L375 and I see that it's using https://github.com/python/cpython/blob/3.12/Lib/xml/sax/saxutils.py#L27 which only escapes &<> I changed it to only escape those and it seems to work fine now.