Fix converted filename

Mark it by default with a string from the config file.

Issue: 397
This commit is contained in:
Eike Kettner
2020-11-08 01:23:07 +01:00
parent ef7cb4e779
commit 6db5c39d78
4 changed files with 12 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import docspell.convert.flexmark.MarkdownConfig
case class ConvertConfig(
chunkSize: Int,
convertedFilenamePart: String,
maxImageSize: Int,
markdown: MarkdownConfig,
wkhtmlpdf: WkHtmlPdfConfig,

View File

@ -23,6 +23,7 @@ object ConversionTest extends SimpleTestSuite with FileChecks {
val convertConfig = ConvertConfig(
8192,
"converted",
3000 * 3000,
MarkdownConfig("body { padding: 2em 5em; }"),
WkHtmlPdfConfig(