Quote:
Originally Posted by kovidgoyal
The i == len(sections) - 1 is redundant, correct, since if i != len(sections) - 1 then next_sect would not be None?
|
Yes, I agree--I think I was being overly cautious since it's important that the trailing vwi only be issued if the TOC starts at the end of the HTML record and either extends into the next record or ends exactly on the last byte of the HTML record.