mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-09-30 00:56:13 +13:00
cover page hotfix
This commit is contained in:
parent
f43a5eb600
commit
860ea4e7ad
2 changed files with 2 additions and 2 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue