mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Remove sanity checking for Toc entries as it conflicts with page-break:avoid code
This commit is contained in:
parent
ad339ea8f5
commit
f790f21133
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user