Merge pull request #3373 from braxton-p/fix-newlines-skip_tags-regex

Fix tts.skip_tags's regex to match newlines
This commit is contained in:
Cohee
2025-01-28 09:50:51 +02:00
committed by GitHub

View File

@@ -466,7 +466,7 @@ async function processTtsQueue() {
}
if (extension_settings.tts.skip_tags) {
text = text.replace(/<.*?>.*?<\/.*?>/g, '').trim();
text = text.replace(/<.*?>[\s\S]*?<\/.*?>/g, '').trim();
}
if (!extension_settings.tts.pass_asterisks) {