@ -74,7 +74,7 @@ data class BookChapter(
@Suppress("unused")
fun getDisplayTitle(
replaceRules: List<ReplaceRule>? = null,
replaceRules: Array<ReplaceRule>? = null,
useReplace: Boolean = true,
chineseConvert: Boolean = true,
): String {
@ -57,13 +57,13 @@ class ContentProcessor private constructor(
}
@Synchronized
fun getTitleReplaceRules(): List<ReplaceRule> {
fun getTitleReplaceRules(): Array<ReplaceRule> {
return titleReplaceRules
return titleReplaceRules.toTypedArray()
fun getContentReplaceRules(): List<ReplaceRule> {
fun getContentReplaceRules(): Array<ReplaceRule> {
return contentReplaceRules
return contentReplaceRules.toTypedArray()
fun getContent(