Update public/scripts/extensions/tts/index.js Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
Signed| @@ -484,7 +484,7 @@ async function processTtsQueue() { | ||
| 484 | 484 | } |
| 485 | 485 | |
| 486 | 486 | // Remove embedded images |
| 487 | 487 | text = text.replace(/!\[alt-text.*?]\([^)]*\)/g, ' '); |
| 488 | 488 | |
| 489 | 489 | if (typeof ttsProvider?.processText === 'function') { |
| 490 | 490 | text = await ttsProvider.processText(text); |