Fixing xhtml template and opf file.
This commit is contained in:
@@ -56,8 +56,8 @@ class EpubXhtml{
|
||||
title = this.title
|
||||
}
|
||||
|
||||
// <!DOCTYPE html>
|
||||
let cnt = `<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:epub="http://www.idpf.org/2007/ops">
|
||||
<head>
|
||||
@@ -123,7 +123,7 @@ class EpubOpf{
|
||||
}
|
||||
for (let a in m.metadata.author){
|
||||
cnt += ` <dc:creator id="creator-${a}">${m.metadata.author[a]}</dc:creator>\n`
|
||||
cnt += ` <meta refines="#creator-${a}" property="role" schema="marc:relators">aut</meta>\n`
|
||||
cnt += ` <meta refines="#creator-${a}" property="role" scheme="marc:relators">aut</meta>\n`
|
||||
}
|
||||
|
||||
cnt +=' </metadata>\n <manifest>\n'
|
||||
|
||||
Reference in New Issue
Block a user