From a70ad3a10f919ffaa02e31d742d2ccef1be34b24 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Thu, 5 Mar 2026 05:52:35 +0800 Subject: [PATCH] EPUB: support multiple publishers This also fixes https://github.com/johnfactotum/foliate/issues/1633 --- epub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epub.js b/epub.js index 0417d0d..f1f7f6d 100644 --- a/epub.js +++ b/epub.js @@ -267,7 +267,7 @@ const getMetadata = opf => { subtitle: dc.title?.find(x => prop(x, 'title-type') === 'subtitle')?.value, language: dc.language?.map(x => x.value), description: one(dc.description), - publisher: makeContributor(dc.publisher?.[0]), + publisher: dc.publisher?.map(makeContributor), published: dc.date?.find(x => x.attrs.event === 'publication')?.value ?? one(dc.date), modified: one(properties[PREFIX.dcterms + 'modified'])