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