mirror of
https://github.com/wallabag/wallabag.git
synced 2025-04-10 12:04:10 +00:00
Merge pull request #3023 from mart-e/epub-notice-at-the-end
Add export notice at the end of the epub
This commit is contained in:
commit
656395fde6
1 changed files with 2 additions and 2 deletions
|
@ -148,8 +148,6 @@ class EntriesExport
|
|||
$book->setCoverImage('Cover.png', file_get_contents($this->logoPath), 'image/png');
|
||||
}
|
||||
|
||||
$book->addChapter('Notices', 'Cover2.html', $content_start.$this->getExportInformation('PHPePub').$bookEnd);
|
||||
|
||||
$book->buildTOC();
|
||||
|
||||
/*
|
||||
|
@ -170,6 +168,8 @@ class EntriesExport
|
|||
$book->addChapter($entry->getTitle(), htmlspecialchars($filename).'.html', $chapter, true, EPub::EXTERNAL_REF_ADD);
|
||||
}
|
||||
|
||||
$book->addChapter('Notices', 'Cover2.html', $content_start.$this->getExportInformation('PHPePub').$bookEnd);
|
||||
|
||||
return Response::create(
|
||||
$book->getBook(),
|
||||
200,
|
||||
|
|
Loading…
Reference in a new issue