[优化] 让本地TTS对图片标识符不发音 (@Luoyacheng) #561
This commit is contained in:
@@ -186,7 +186,7 @@ data class TextChapter(
|
||||
val stringBuilder = StringBuilder()
|
||||
if (pages.isNotEmpty()) {
|
||||
for (index in pageIndex..min(pageEndIndex, pages.lastIndex)) {
|
||||
stringBuilder.append(pages[index].text)
|
||||
stringBuilder.append(pages[index].text.replace(Regex("[袮꧁]"), " "))
|
||||
if (pageSplit && !stringBuilder.endsWith("\n")) {
|
||||
stringBuilder.append("\n")
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
VERSION_MAJOR=3
|
||||
VERSION_MINOR=26
|
||||
VERSION_PATCH=6
|
||||
VERSION_PATCH=7
|
||||
VERSION_SUFFIX=0
|
||||
# 1 = Pre, 0 = Release
|
||||
Reference in New Issue
Block a user