From a97917d3f05ee667f92fc7cff802930f83313c3f Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 18 Mar 2024 00:31:28 +0200 Subject: [PATCH] Remove asterisks from Novel TTS --- public/scripts/extensions/tts/novel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/extensions/tts/novel.js b/public/scripts/extensions/tts/novel.js index 7c89c889a..0f43effe8 100644 --- a/public/scripts/extensions/tts/novel.js +++ b/public/scripts/extensions/tts/novel.js @@ -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; }