diff --git a/src/main/kotlin/com/lanyuanxiaoyao/bookstore/Exporter.kt b/src/main/kotlin/com/lanyuanxiaoyao/bookstore/Exporter.kt index 11d29a9..fec036e 100644 --- a/src/main/kotlin/com/lanyuanxiaoyao/bookstore/Exporter.kt +++ b/src/main/kotlin/com/lanyuanxiaoyao/bookstore/Exporter.kt @@ -25,7 +25,7 @@ val defaultExporterTemplate = object : ExporterTemplate { override fun exportChapter(chapter: Chapter): ExporterItem { return ExporterItem( - name = "第${chapter.sequence}章${if (chapter.name.isNullOrBlank()) "" else "-${chapter.name}"}", + name = "第${chapter.sequence}章${if (chapter.name.isNullOrBlank()) "" else " ${chapter.name}"}", content = StringBuilder().apply { for (line in chapter.content.sortedBy { it.sequence }) { appendLine(line.text)