mirror of
https://github.com/wallabag/wallabag.git
synced 2024-10-31 22:28:54 +00:00
EntriesExport/epub: remove TOC page
This change only remove the rendered page of the TOC at the end of the book, the TOC remains available to readers. Fixes #3603 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
5de17117a1
commit
063d5e7bda
1 changed files with 0 additions and 2 deletions
|
@ -200,8 +200,6 @@ class EntriesExport
|
||||||
$hash = sha1(sprintf('%s:%s', $this->wallabagUrl, implode(',', $entryIds)));
|
$hash = sha1(sprintf('%s:%s', $this->wallabagUrl, implode(',', $entryIds)));
|
||||||
$book->setIdentifier(sprintf('urn:wallabag:%s', $hash), EPub::IDENTIFIER_URI);
|
$book->setIdentifier(sprintf('urn:wallabag:%s', $hash), EPub::IDENTIFIER_URI);
|
||||||
|
|
||||||
$book->buildTOC();
|
|
||||||
|
|
||||||
return Response::create(
|
return Response::create(
|
||||||
$book->getBook(),
|
$book->getBook(),
|
||||||
200,
|
200,
|
||||||
|
|
Loading…
Reference in a new issue