From 42e77596e900f07dc008f1878aea09e19d4448bb Mon Sep 17 00:00:00 2001 From: Karol Date: Wed, 9 Apr 2025 03:22:43 +0200 Subject: [PATCH] fix: reaperscans RSC parsing for multiline chapters (#1611) (#1620) --- src/plugins/english/reaperscans.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/plugins/english/reaperscans.ts b/src/plugins/english/reaperscans.ts index 2aa72fe..158f3b4 100644 --- a/src/plugins/english/reaperscans.ts +++ b/src/plugins/english/reaperscans.ts @@ -83,17 +83,19 @@ class ReaperScans implements Plugin.PluginBase { } private extractChapterContent(chapter: string): string { - const content = chapter - .split('\n') - .find(e => e.substring(0, 50).includes(' line.includes('') + 1,