Extend quote list for TTS
| @@ -474,7 +474,7 @@ async function processTtsQueue() { | ||
| 474 | 474 | } |
| 475 | 475 | |
| 476 | 476 | if (extension_settings.tts.narrate_quoted_only) { |
| 477 | 477 | const special_quotes = /[“”«»「」『』""]/g; // Extend this regex to include other special quotes |
| 478 | 478 | text = text.replace(special_quotes, '"'); |
| 479 | 479 | const matches = text.match(/".*?"/g); // Matches text inside double quotes, non-greedily |
| 480 | 480 | const partJoiner = (ttsProvider?.separator || ' ... '); |