kunfei 3 лет назад
Родитель
Сommit
c4e409c92d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/src/main/java/io/legado/app/help/book/ContentProcessor.kt

+ 1 - 1
app/src/main/java/io/legado/app/help/book/ContentProcessor.kt

@@ -92,7 +92,7 @@ class ContentProcessor private constructor(
                 if (matcher.find()) {
                 if (matcher.find()) {
                     mContent = mContent.substring(matcher.end())
                     mContent = mContent.substring(matcher.end())
                     sameTitleRemoved = true
                     sameTitleRemoved = true
-                } else {
+                } else if (useReplace) {
                     title = Pattern.quote(
                     title = Pattern.quote(
                         chapter.getDisplayTitle(
                         chapter.getDisplayTitle(
                             contentReplaceRules,
                             contentReplaceRules,