[优化] 让本地TTS对图片标识符不发音 (@Luoyacheng) #561
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -186,7 +186,7 @@ data class TextChapter(
|
|||||||
val stringBuilder = StringBuilder()
|
val stringBuilder = StringBuilder()
|
||||||
if (pages.isNotEmpty()) {
|
if (pages.isNotEmpty()) {
|
||||||
for (index in pageIndex..min(pageEndIndex, pages.lastIndex)) {
|
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")) {
|
if (pageSplit && !stringBuilder.endsWith("\n")) {
|
||||||
stringBuilder.append("\n")
|
stringBuilder.append("\n")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
VERSION_MAJOR=3
|
VERSION_MAJOR=3
|
||||||
VERSION_MINOR=26
|
VERSION_MINOR=26
|
||||||
VERSION_PATCH=6
|
VERSION_PATCH=7
|
||||||
VERSION_SUFFIX=0
|
VERSION_SUFFIX=0
|
||||||
# 1 = Pre, 0 = Release
|
# 1 = Pre, 0 = Release
|
||||||
Reference in new issue
Block a user