From ef2b1c2c041a5f0a0e5c93d6d0f75c0bd81f802b Mon Sep 17 00:00:00 2001 From: hubhub-ops Date: Fri, 7 Aug 2026 18:05:44 +0200 Subject: [PATCH 1/2] Update novelfrance.ts --- plugins/french/novelfrance.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/french/novelfrance.ts b/plugins/french/novelfrance.ts index 9e14c68c9..fea0fe8ca 100644 --- a/plugins/french/novelfrance.ts +++ b/plugins/french/novelfrance.ts @@ -59,7 +59,7 @@ class NovelFrancePlugin implements Plugin.PluginBase { name = 'NovelFrance'; icon = 'src/fr/novelfrance/icon.png'; site = 'https://novelfrance.fr/'; - version = '1.0.0'; + version = '1.0.1'; private async fetchJson(url: string): Promise { const r = await fetchApi(url); @@ -205,9 +205,14 @@ class NovelFrancePlugin implements Plugin.PluginBase { if (title) parts.push(`

${this.escapeHtml(title)}

`); for (const p of data.paragraphs || []) { - if (title && p.index === 0) continue; const content = (p.content || '').trim(); if (!content) continue; + + // Si le paragraphe d'index 0 est une répétition exacte du titre du chapitre, on l'ignore + if (title && p.index === 0 && content.toLowerCase() === title.trim().toLowerCase()) { + continue; + } + parts.push(`

${this.escapeHtml(content)}

`); } From 70c6f92b4e509b0a97f427eefe36cc5cda8a5a7d Mon Sep 17 00:00:00 2001 From: hubhub-ops Date: Fri, 7 Aug 2026 18:17:01 +0200 Subject: [PATCH 2/2] Update novelfrance.ts