cover page hotfix

This commit is contained in:
daniel-j 2018-03-13 18:00:31 +01:00
parent f43a5eb600
commit 860ea4e7ad
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "fimfic2epub", "name": "fimfic2epub",
"version": "1.7.8", "version": "1.7.9",
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories", "description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
"author": "djazz", "author": "djazz",
"repository": { "repository": {

View file

@ -322,7 +322,7 @@ export function createCoverPage (ffc) {
m('title', 'Cover'), m('title', 'Cover'),
m('link', {rel: 'stylesheet', type: 'text/css', href: '../Styles/coverstyle.css'}) m('link', {rel: 'stylesheet', type: 'text/css', href: '../Styles/coverstyle.css'})
]), ]),
m('body#coverpage', {'epub:type': 'frontmatter cover'}, m('section', body)) m('body#coverpage', {'epub:type': 'frontmatter cover'}, body)
]) ])
, {strict: true}).then((coverPage) => { , {strict: true}).then((coverPage) => {
coverPage = '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html>\n' + pretty.xml(coverPage) coverPage = '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html>\n' + pretty.xml(coverPage)