diff --git a/plugins/multisrc/lightnovelwp/template.ts b/plugins/multisrc/lightnovelwp/template.ts index 080b4a452..ce450b846 100644 --- a/plugins/multisrc/lightnovelwp/template.ts +++ b/plugins/multisrc/lightnovelwp/template.ts @@ -42,7 +42,7 @@ export class LightNovelWPPlugin implements Plugin.PluginBase { this.icon = `multisrc/lightnovelwp/${metadata.id.toLowerCase()}/icon.png`; this.site = metadata.sourceSite; const versionIncrements = metadata.options?.versionIncrements || 0; - this.version = `1.1.${10 + versionIncrements}`; + this.version = `1.1.${11 + versionIncrements}`; this.options = metadata.options ?? ({} as LightNovelWPOptions); this.filters = metadata.filters satisfies Filters; @@ -438,64 +438,75 @@ export class LightNovelWPPlugin implements Plugin.PluginBase { throw error; } } - // The chapter text lives in the `epcontent` block. Older child themes - // closed it with a `bottomnav` div, but that wrapper is gone on current - // ones, so anchoring on it silently returned an empty chapter. - // - // Walk the markup with the parser rather than cutting the document with a - // regex: the block has to end at the element that closes it, and any - // landmark guessed from the surrounding text is wrong on some site. A - //