Update ContentProcessor.kt
标题也需要替换
This commit is contained in:
@@ -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 ->
|
||||||
@@ -131,4 +131,4 @@ class ContentProcessor private constructor(
|
|||||||
return mContent
|
return mContent
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user