Fix FR title
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2021-06-21 10:44:10 +02:00
parent 120d985f09
commit 5b4cff2f0f

View File

@ -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}`)