EPUB: Add pageBreakSource metadata property (#109)

This commit is contained in:
Francesco Martini
2026-03-05 06:05:25 +00:00
committed by GitHub
parent 3393b85c80
commit ab5abb9dd4
+1
View File
@@ -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))