|
|
@ -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) |
|
|
|
} |
|
|
|
} |
|
|
|