pull/373/head
Celeter 4 years ago
parent c2cff4ce1a
commit 7e225e7ee4
  1. 2
      app/src/main/java/io/legado/app/model/webBook/BookContent.kt

@ -97,7 +97,7 @@ object BookContent {
val replaceRegex = bookSource.ruleContent?.replaceRegex val replaceRegex = bookSource.ruleContent?.replaceRegex
if (!replaceRegex.isNullOrEmpty()) { if (!replaceRegex.isNullOrEmpty()) {
val analyzeRule = AnalyzeRule(book) val analyzeRule = AnalyzeRule(book)
analyzeRule.setContent(body, baseUrl) analyzeRule.setContent(contentStr, baseUrl)
analyzeRule.chapter = bookChapter analyzeRule.chapter = bookChapter
contentStr = analyzeRule.getString(replaceRegex) contentStr = analyzeRule.getString(replaceRegex)
} }

Loading…
Cancel
Save