mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove asterisks from Novel TTS
This commit is contained in:
@@ -28,6 +28,8 @@ class NovelTtsProvider {
|
|||||||
processText(text) {
|
processText(text) {
|
||||||
// Novel reads tilde as a word. Replace with full stop
|
// Novel reads tilde as a word. Replace with full stop
|
||||||
text = text.replace(/~/g, '.');
|
text = text.replace(/~/g, '.');
|
||||||
|
// Novel reads asterisk as a word. Remove it
|
||||||
|
text = text.replace(/\*/g, '');
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user