Enabling table of contents for some pages, others have some HTML that is considered malformed by the parser