Update ContentProcessor.kt

标题也需要替换
pull/1574/head
kunfei 3 years ago committed by GitHub
parent 86f6adba06
commit 0b9f58d1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/src/main/java/io/legado/app/help/ContentProcessor.kt

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

Loading…
Cancel
Save