mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update public/scripts/extensions/tts/index.js
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
@ -484,7 +484,7 @@ async function processTtsQueue() {
|
||||
}
|
||||
|
||||
// Remove embedded images
|
||||
text = text.replace(/!\[alt-text]\([^)]*\)/g, ' ');
|
||||
text = text.replace(/!\[.*?]\([^)]*\)/g, '');
|
||||
|
||||
if (typeof ttsProvider?.processText === 'function') {
|
||||
text = await ttsProvider.processText(text);
|
||||
|
Reference in New Issue
Block a user