From ab5abb9dd4a60d81a5890096351f35dfa952e0eb Mon Sep 17 00:00:00 2001 From: Francesco Martini Date: Thu, 5 Mar 2026 07:05:25 +0100 Subject: [PATCH] EPUB: Add pageBreakSource metadata property (#109) --- epub.js | 1 + 1 file changed, 1 insertion(+) diff --git a/epub.js b/epub.js index f1f7f6d..e8bd703 100644 --- a/epub.js +++ b/epub.js @@ -284,6 +284,7 @@ const getMetadata = opf => { altIdentifier: dc.identifier?.map(makeAltIdentifier), source: dc.source?.map(makeAltIdentifier), // NOTE: not in webpub schema rights: one(dc.rights), // NOTE: not in webpub schema + pageBreakSource: one(properties['pageBreakSource']), // NOTE: not in webpub schema } const remapContributor = defaultKey => x => { const keys = new Set(x.role?.map(role => RELATORS[role] ?? defaultKey))