Fix FR title
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Michel Roux 2021-06-21 10:44:10 +02:00
parent 120d985f09
commit 5b4cff2f0f
1 changed files with 2 additions and 1 deletions

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