mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
EPUB: Add pageBreakSource metadata property (#109)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user