pull/373/head
gedoor 4 years ago
parent 0fdb4c7e4a
commit 1844ba1e91
  1. 2
      app/src/main/java/io/legado/app/model/webBook/BookContent.kt

@ -97,7 +97,7 @@ object BookContent {
}
content.deleteCharAt(content.length - 1)
var contentStr = content.toString().htmlFormat()
val replaceRegex = bookSource.ruleContent?.replaceRegex?.trim()
val replaceRegex = bookSource.ruleContent?.replaceRegex
if (!replaceRegex.isNullOrEmpty()) {
contentStr = AnalyzeRule(book).setContent(contentStr).getString(replaceRegex)
}

Loading…
Cancel
Save