Update public/scripts/extensions/tts/index.js Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>

52a4c9202d70aeaeb383f27a1e68dd4fb68b4e7b

Yaroslav Sivakov <yar3333@gmail.com>

Signed
1 files changed, +1 -1Ignore whitespace
public/scripts/extensions/tts/index.js+1 -1
@@ -484,7 +484,7 @@ async function processTtsQueue() {
484 }484 }
485485
486 // Remove embedded images486 // Remove embedded images
487 text = text.replace(/!\[alt-text]\([^)]*\)/g, ' ');487 text = text.replace(/!\[.*?]\([^)]*\)/g, '');
488488
489 if (typeof ttsProvider?.processText === 'function') {489 if (typeof ttsProvider?.processText === 'function') {
490 text = await ttsProvider.processText(text);490 text = await ttsProvider.processText(text);