Remove sanity checking for Toc entries as it conflicts with page-break:avoid code

This commit is contained in:
Kovid Goyal 2008-03-13 04:54:11 +00:00
parent ad339ea8f5
commit f790f21133

View File

@ -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"