diff --git a/src/main/kotlin/lau/NovelDL/NovelHandler.kt b/src/main/kotlin/lau/NovelDL/NovelHandler.kt index 5ad74d0..ab25956 100644 --- a/src/main/kotlin/lau/NovelDL/NovelHandler.kt +++ b/src/main/kotlin/lau/NovelDL/NovelHandler.kt @@ -11,7 +11,7 @@ import java.lang.NullPointerException fun readNovel(plain: String): String { // Get the main part of the novel val novelStart: Int = plain.indexOf("', novelStart) + 1, plain.indexOf("", novelStart) @@ -24,7 +24,7 @@ fun readNovel(plain: String): String { novel = Regex(""").replace(novel, "\"") // Process "
"s - novel = Regex("
").replace(novel, "\n") + novel = Regex("
").replace(novel, "\n") // Remove ""s novel = removePartsFromString(novel, "", "")