mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-07 06:25:26 -04:00
Remove sanity checking for Toc entries as it conflicts with page-break:avoid code
This commit is contained in:
@@ -743,7 +743,7 @@ class TableOfContents(object):
|
||||
if textBlock.parent is None:
|
||||
raise LrsError, "TOC text block must be already appended to a page"
|
||||
|
||||
if textBlock.parent.parent is None:
|
||||
if False and textBlock.parent.parent is None:
|
||||
raise LrsError, \
|
||||
"TOC destination page must be already appended to a book"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user