mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
Update ContentProcessor.kt
标题也需要替换
This commit is contained in:
parent
86f6adba06
commit
0b9f58d1b5
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user