From 5b4cff2f0fc8c21b1f25eb66714a548cd2d7de5c Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 21 Jun 2021 10:44:10 +0200 Subject: [PATCH] Fix FR title --- livres_fr.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/livres_fr.js b/livres_fr.js index e74a193..ffb9146 100644 --- a/livres_fr.js +++ b/livres_fr.js @@ -22,7 +22,7 @@ const metadata = (volume) => ({ version: 3, lang: 'fr', tocTitle: 'Table des matières', - appendChapterTitles: false, + appendChapterTitles: true, content: [], verbose: true, description: "L'histoire d'une fille, d'une auberge et d'un monde plein de niveaux", @@ -53,6 +53,7 @@ for (let i = 1; i <= MAX_VOLUME; i++) { const titleFirst = title.first() titleFirst.find('br').replaceWith(' ') const titleText = titleFirst.text().replace(/\*/g, '') + titleFirst.empty() console.log(`${post} - ${titleText}`)