Przeglądaj źródła

Update ContentProcessor.kt

标题也需要替换
kunfei 4 lat temu
rodzic
commit
d0cac05c71

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

@@ -94,7 +94,7 @@ class ContentProcessor private constructor(
         }
         if (includeTitle) {
             //重新添加标题
-            mContent = chapter.getDisplayTitle() + "\n" + mContent
+            mContent = chapter.getDisplayTitle(getReplaceRules()) + "\n" + mContent
         }
         val contents = arrayListOf<String>()
         mContent.split("\n").forEach { str ->
@@ -131,4 +131,4 @@ class ContentProcessor private constructor(
         return mContent
     }
 
-}
+}