Merge pull request #28 from orthros/cover-metadata

Added cover to Metadata
This commit is contained in:
Julien Chaumond 2017-04-26 15:22:38 +02:00 committed by GitHub
commit b6b1f1fa08

View File

@ -396,6 +396,10 @@ EPub.prototype.parseMetadata = function (metadata) {
if (meta['#'] && meta['@'].property) {
this.metadata[meta['@'].property] = meta['#'];
}
if(meta.name && meta.name =="cover"){
this.metadata[meta.name] = meta.content;
}
}, this);
};