Remove asterisks from Novel TTS
This commit is contained in:
parent
d2f0a2fa60
commit
a97917d3f0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue