mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-10-21 14:49:51 -04:00
EPUB: Add pageBreakSource metadata property (#109)
This commit is contained in:
1 parent
3393b85c80
commit
ab5abb9dd4
1 file changed
+1
@@ -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