Extend quote list for TTS

a5be8898527c2ded026fb1faa0f33c181050a457

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/extensions/tts/index.js+1 -1
@@ -474,7 +474,7 @@ async function processTtsQueue() {
474 }474 }
475475
476 if (extension_settings.tts.narrate_quoted_only) {476 if (extension_settings.tts.narrate_quoted_only) {
477 const special_quotes = /[“”«»]/g; // Extend this regex to include other special quotes477 const special_quotes = /[“”«»「」『』""]/g; // Extend this regex to include other special quotes
478 text = text.replace(special_quotes, '"');478 text = text.replace(special_quotes, '"');
479 const matches = text.match(/".*?"/g); // Matches text inside double quotes, non-greedily479 const matches = text.match(/".*?"/g); // Matches text inside double quotes, non-greedily
480 const partJoiner = (ttsProvider?.separator || ' ... ');480 const partJoiner = (ttsProvider?.separator || ' ... ');